Struct libbpf_sys::bpf_tc_hook
source · #[repr(C)]pub struct bpf_tc_hook {
pub sz: usize,
pub ifindex: c_int,
pub attach_point: bpf_tc_attach_point,
pub parent: __u32,
pub __bindgen_padding_0: [u8; 4],
}
Fields§
§sz: usize
§ifindex: c_int
§attach_point: bpf_tc_attach_point
§parent: __u32
§__bindgen_padding_0: [u8; 4]
Trait Implementations§
source§impl Clone for bpf_tc_hook
impl Clone for bpf_tc_hook
source§fn clone(&self) -> bpf_tc_hook
fn clone(&self) -> bpf_tc_hook
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