#[repr(C)]
pub struct bpf_flow_keys {
Show 13 fields 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, pub sport: __be16, pub dport: __be16, pub __bindgen_anon_1: bpf_flow_keys__bindgen_ty_1, pub flags: __u32, pub flow_label: __be32,
}

Fields§

§nhoff: __u16§thoff: __u16§addr_proto: __u16§is_frag: __u8§is_first_frag: __u8§is_encap: __u8§ip_proto: __u8§n_proto: __be16§sport: __be16§dport: __be16§__bindgen_anon_1: bpf_flow_keys__bindgen_ty_1§flags: __u32§flow_label: __be32

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.