[][src]Struct capsule_ffi::rte_ipv4_hdr

#[repr(C, packed)]pub struct rte_ipv4_hdr {
    pub version_ihl: u8,
    pub type_of_service: u8,
    pub total_length: rte_be16_t,
    pub packet_id: rte_be16_t,
    pub fragment_offset: rte_be16_t,
    pub time_to_live: u8,
    pub next_proto_id: u8,
    pub hdr_checksum: rte_be16_t,
    pub src_addr: rte_be32_t,
    pub dst_addr: rte_be32_t,
}

Fields

version_ihl: u8type_of_service: u8total_length: rte_be16_tpacket_id: rte_be16_tfragment_offset: rte_be16_ttime_to_live: u8next_proto_id: u8hdr_checksum: rte_be16_tsrc_addr: rte_be32_tdst_addr: rte_be32_t

Trait Implementations

impl Clone for rte_ipv4_hdr[src]

impl Copy for rte_ipv4_hdr[src]

impl Debug for rte_ipv4_hdr[src]

impl Default for rte_ipv4_hdr[src]

impl PartialEq<rte_ipv4_hdr> for rte_ipv4_hdr[src]

impl StructuralPartialEq for rte_ipv4_hdr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.