Struct libbpf_sys::bpf_map_create_opts
source · [−]#[repr(C)]pub struct bpf_map_create_opts {
pub sz: size_t,
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: c_int,
pub map_flags: c_int,
pub map_extra: __u64,
pub numa_node: c_int,
pub map_ifindex: c_int,
}
Fields
sz: size_t
btf_fd: __u32
btf_key_type_id: __u32
btf_value_type_id: __u32
btf_vmlinux_value_type_id: __u32
inner_map_fd: c_int
map_flags: c_int
map_extra: __u64
numa_node: c_int
map_ifindex: c_int
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for bpf_map_create_opts
impl Send for bpf_map_create_opts
impl Sync for bpf_map_create_opts
impl Unpin for bpf_map_create_opts
impl UnwindSafe for bpf_map_create_opts
Blanket Implementations
Mutably borrows from an owned value. Read more