Struct libbpf_sys::bpf_map_create_opts
source · #[repr(C)]pub struct bpf_map_create_opts {
pub sz: usize,
pub btf_fd: __u32,
pub btf_key_type_id: __u32,
pub btf_value_type_id: __u32,
pub btf_vmlinux_value_type_id: __u32,
pub inner_map_fd: __u32,
pub map_flags: __u32,
pub map_extra: __u64,
pub numa_node: __u32,
pub map_ifindex: __u32,
}
Fields§
§sz: usize
§btf_fd: __u32
§btf_key_type_id: __u32
§btf_value_type_id: __u32
§btf_vmlinux_value_type_id: __u32
§inner_map_fd: __u32
§map_flags: __u32
§map_extra: __u64
§numa_node: __u32
§map_ifindex: __u32
Trait Implementations§
source§impl Clone for bpf_map_create_opts
impl Clone for bpf_map_create_opts
source§fn clone(&self) -> bpf_map_create_opts
fn clone(&self) -> bpf_map_create_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_map_create_opts
impl Debug for bpf_map_create_opts
source§impl Default for bpf_map_create_opts
impl Default for bpf_map_create_opts
source§fn default() -> bpf_map_create_opts
fn default() -> bpf_map_create_opts
Returns the “default value” for a type. Read more