Struct libbpf_sys::bpf_tc_opts
source · [−]#[repr(C)]pub struct bpf_tc_opts {
pub sz: size_t,
pub prog_fd: c_int,
pub flags: __u32,
pub prog_id: __u32,
pub handle: __u32,
pub priority: __u32,
pub __bindgen_padding_0: [u8; 4],
}
Fields
sz: size_t
prog_fd: c_int
flags: __u32
prog_id: __u32
handle: __u32
priority: __u32
__bindgen_padding_0: [u8; 4]
Trait Implementations
sourceimpl Clone for bpf_tc_opts
impl Clone for bpf_tc_opts
sourcefn clone(&self) -> bpf_tc_opts
fn clone(&self) -> bpf_tc_opts
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for bpf_tc_opts
impl Debug for bpf_tc_opts
sourceimpl Default for bpf_tc_opts
impl Default for bpf_tc_opts
sourcefn default() -> bpf_tc_opts
fn default() -> bpf_tc_opts
Returns the “default value” for a type. Read more
impl Copy for bpf_tc_opts
Auto Trait Implementations
impl RefUnwindSafe for bpf_tc_opts
impl Send for bpf_tc_opts
impl Sync for bpf_tc_opts
impl Unpin for bpf_tc_opts
impl UnwindSafe for bpf_tc_opts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more