#[repr(C, packed(1))]pub struct ip4_header_t__bindgen_ty_1 {
pub ip_version_and_header_length: u8_,
pub tos: ip_dscp_t,
pub length: u16_,
pub fragment_id: u16_,
pub flags_and_fragment_offset: u16_,
pub ttl: u8_,
pub protocol: u8_,
pub checksum: u16_,
pub __bindgen_anon_1: ip4_header_t__bindgen_ty_1__bindgen_ty_1,
}Fields§
§ip_version_and_header_length: u8_§tos: ip_dscp_t§length: u16_§fragment_id: u16_§flags_and_fragment_offset: u16_§ttl: u8_§protocol: u8_§checksum: u16_§__bindgen_anon_1: ip4_header_t__bindgen_ty_1__bindgen_ty_1Trait Implementations§
Source§impl Clone for ip4_header_t__bindgen_ty_1
impl Clone for ip4_header_t__bindgen_ty_1
Source§fn clone(&self) -> ip4_header_t__bindgen_ty_1
fn clone(&self) -> ip4_header_t__bindgen_ty_1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ip4_header_t__bindgen_ty_1
impl Default for ip4_header_t__bindgen_ty_1
impl Copy for ip4_header_t__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for ip4_header_t__bindgen_ty_1
impl RefUnwindSafe for ip4_header_t__bindgen_ty_1
impl Send for ip4_header_t__bindgen_ty_1
impl Sync for ip4_header_t__bindgen_ty_1
impl Unpin for ip4_header_t__bindgen_ty_1
impl UnsafeUnpin for ip4_header_t__bindgen_ty_1
impl UnwindSafe for ip4_header_t__bindgen_ty_1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more