#[repr(C)]pub struct bpf_map_info {Show 16 fields
pub type_: __u32,
pub id: __u32,
pub key_size: __u32,
pub value_size: __u32,
pub max_entries: __u32,
pub map_flags: __u32,
pub name: [c_char; 16],
pub ifindex: __u32,
pub btf_vmlinux_value_type_id: __u32,
pub netns_dev: __u64,
pub netns_ino: __u64,
pub btf_id: __u32,
pub btf_key_type_id: __u32,
pub btf_value_type_id: __u32,
pub btf_vmlinux_id: __u32,
pub map_extra: __u64,
}
Fields§
§type_: __u32
§id: __u32
§key_size: __u32
§value_size: __u32
§max_entries: __u32
§map_flags: __u32
§name: [c_char; 16]
§ifindex: __u32
§btf_vmlinux_value_type_id: __u32
§netns_dev: __u64
§netns_ino: __u64
§btf_id: __u32
§btf_key_type_id: __u32
§btf_value_type_id: __u32
§btf_vmlinux_id: __u32
§map_extra: __u64
Trait Implementations§
Source§impl Clone for bpf_map_info
impl Clone for bpf_map_info
Source§fn clone(&self) -> bpf_map_info
fn clone(&self) -> bpf_map_info
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_info
impl Debug for bpf_map_info
Source§impl Default for bpf_map_info
impl Default for bpf_map_info
Source§fn default() -> bpf_map_info
fn default() -> bpf_map_info
Returns the “default value” for a type. Read more
impl Copy for bpf_map_info
Auto Trait Implementations§
impl Freeze for bpf_map_info
impl RefUnwindSafe for bpf_map_info
impl Send for bpf_map_info
impl Sync for bpf_map_info
impl Unpin for bpf_map_info
impl UnwindSafe for bpf_map_info
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)