Struct libbpf_sys::bpf_prog_attach_opts
source · #[repr(C)]pub struct bpf_prog_attach_opts {
pub sz: usize,
pub flags: c_uint,
pub replace_prog_fd: c_int,
}
Fields§
§sz: usize
§flags: c_uint
§replace_prog_fd: c_int
Trait Implementations§
source§impl Clone for bpf_prog_attach_opts
impl Clone for bpf_prog_attach_opts
source§fn clone(&self) -> bpf_prog_attach_opts
fn clone(&self) -> bpf_prog_attach_opts
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 Debug for bpf_prog_attach_opts
impl Debug for bpf_prog_attach_opts
source§impl Default for bpf_prog_attach_opts
impl Default for bpf_prog_attach_opts
source§fn default() -> bpf_prog_attach_opts
fn default() -> bpf_prog_attach_opts
Returns the “default value” for a type. Read more