#[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§
Source§impl Clone for bpf_flow_keys
impl Clone for bpf_flow_keys
Source§fn clone(&self) -> bpf_flow_keys
fn clone(&self) -> bpf_flow_keys
Returns a copy 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 bpf_flow_keys
impl Default for bpf_flow_keys
impl Copy for bpf_flow_keys
Auto Trait Implementations§
impl Freeze for bpf_flow_keys
impl RefUnwindSafe for bpf_flow_keys
impl Send for bpf_flow_keys
impl Sync for bpf_flow_keys
impl Unpin for bpf_flow_keys
impl UnwindSafe for bpf_flow_keys
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)