blob: 3486641deb7b57d9977cbd6518173d19a6a97884 [file] [log] [blame]
#![allow(
dead_code,
non_snake_case,
non_camel_case_types,
non_upper_case_globals
)]
#[repr(C)]
#[repr(align(64))]
#[derive(Copy, Clone)]
pub struct rte_mbuf {
pub __bindgen_anon_1: rte_mbuf__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union rte_mbuf__bindgen_ty_1 {
_bindgen_union_align: [u8; 0usize],
}
#[test]
fn bindgen_test_layout_rte_mbuf__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<rte_mbuf__bindgen_ty_1>(),
0usize,
concat!("Size of: ", stringify!(rte_mbuf__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<rte_mbuf__bindgen_ty_1>(),
1usize,
concat!("Alignment of ", stringify!(rte_mbuf__bindgen_ty_1))
);
}
impl Default for rte_mbuf__bindgen_ty_1 {
fn default() -> Self {
unsafe { ::std::mem::zeroed() }
}
}
#[test]
fn bindgen_test_layout_rte_mbuf() {
assert_eq!(
::std::mem::size_of::<rte_mbuf>(),
0usize,
concat!("Size of: ", stringify!(rte_mbuf))
);
assert_eq!(
::std::mem::align_of::<rte_mbuf>(),
64usize,
concat!("Alignment of ", stringify!(rte_mbuf))
);
}
impl Default for rte_mbuf {
fn default() -> Self {
unsafe { ::std::mem::zeroed() }
}
}