Struct libbpf_sys::bpf_fib_lookup
source · #[repr(C)]pub struct bpf_fib_lookup {Show 13 fields
pub family: __u8,
pub l4_protocol: __u8,
pub sport: __be16,
pub dport: __be16,
pub __bindgen_anon_1: bpf_fib_lookup__bindgen_ty_1,
pub ifindex: __u32,
pub __bindgen_anon_2: bpf_fib_lookup__bindgen_ty_2,
pub __bindgen_anon_3: bpf_fib_lookup__bindgen_ty_3,
pub __bindgen_anon_4: bpf_fib_lookup__bindgen_ty_4,
pub h_vlan_proto: __be16,
pub h_vlan_TCI: __be16,
pub smac: [__u8; 6],
pub dmac: [__u8; 6],
}
Fields§
§family: __u8
§l4_protocol: __u8
§sport: __be16
§dport: __be16
§__bindgen_anon_1: bpf_fib_lookup__bindgen_ty_1
§ifindex: __u32
§__bindgen_anon_2: bpf_fib_lookup__bindgen_ty_2
§__bindgen_anon_3: bpf_fib_lookup__bindgen_ty_3
§__bindgen_anon_4: bpf_fib_lookup__bindgen_ty_4
§h_vlan_proto: __be16
§h_vlan_TCI: __be16
§smac: [__u8; 6]
§dmac: [__u8; 6]
Trait Implementations§
source§impl Clone for bpf_fib_lookup
impl Clone for bpf_fib_lookup
source§fn clone(&self) -> bpf_fib_lookup
fn clone(&self) -> bpf_fib_lookup
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 more