#[repr(C)]pub struct bpf_fib_lookup {
pub family: u8,
pub l4_protocol: u8,
pub sport: u16,
pub dport: u16,
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 __bindgen_anon_5: bpf_fib_lookup__bindgen_ty_5,
pub smac: [u8; 6],
pub dmac: [u8; 6],
}
Fields§
§family: u8
§l4_protocol: u8
§sport: u16
§dport: u16
§__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
§__bindgen_anon_5: bpf_fib_lookup__bindgen_ty_5
§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 moreimpl Copy for bpf_fib_lookup
Auto Trait Implementations§
impl Freeze for bpf_fib_lookup
impl RefUnwindSafe for bpf_fib_lookup
impl Send for bpf_fib_lookup
impl Sync for bpf_fib_lookup
impl Unpin for bpf_fib_lookup
impl UnwindSafe for bpf_fib_lookup
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