[−][src]Struct nc::bpf_attr_map_create_t
anonymous struct used by BPF_MAP_CREATE command
Fields
map_type: u32
one of enum bpf_map_type
key_size: u32
size of key in bytes
value_size: u32
size of value in bytes
max_entries: u32
max number of entries in a map
map_flags: u32
BPF_MAP_CREATE related flags defined above.
inner_map_fd: u32
fd pointing to the inner map
numa_node: u32
numa node (effective only if BPF_F_NUMA_NODE is set).
map_name: [u8; 16]
map_ifindex: u32
ifindex of netdev to create on
btf_fd: u32
fd pointing to a BTF type data
btf_key_type_id: u32
BTF type_id of the key
btf_value_type_id: u32
BTF type_id of the value
Trait Implementations
impl Copy for bpf_attr_map_create_t
[src]
impl Clone for bpf_attr_map_create_t
[src]
fn clone(&self) -> bpf_attr_map_create_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl Unpin for bpf_attr_map_create_t
impl Send for bpf_attr_map_create_t
impl Sync for bpf_attr_map_create_t
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.