[][src]Struct nc::types::bpf_flow_keys_t

#[repr(C)]
pub struct bpf_flow_keys_t {
    pub nhoff: u16,
    pub thoff: u16,
    pub addr_proto: u16,
    pub is_frag: u8,
    pub is_first_frag: u8,
    pub is_encap: u8,
    pub ip_proto: u8,
    pub n_proto: be16_t,
    pub sport: be16_t,
    pub dport: be16_t,
    pub addr: bpf_flow_keys_addr_t,
}

Fields

nhoff: u16thoff: u16addr_proto: u16

ETH_P_* of valid addrs

is_frag: u8is_first_frag: u8is_encap: u8ip_proto: u8n_proto: be16_tsport: be16_tdport: be16_taddr: bpf_flow_keys_addr_t

Auto Trait Implementations

Blanket Implementations

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

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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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