eBPF for Windows
Loading...
Searching...
No Matches
sys_bpf_map_create_attr_t Struct Reference

Attributes used by BPF_MAP_CREATE. More...

#include <bpf.h>

Data Fields

enum bpf_map_type map_type
 Type of map to create.
uint32_t key_size
 Size in bytes of keys.
uint32_t value_size
 Size in bytes of values.
uint32_t max_entries
 Entry-count limit, or initial bucket-count hint with BPF_F_NO_MAX_ENTRIES.
uint32_t map_flags
 Map flags. Supported: BPF_F_NO_MAX_ENTRIES.
uint32_t inner_map_fd
 File descriptor of inner map.
uint32_t numa_node
 Not supported, must be zero.
char map_name [SYS_BPF_OBJ_NAME_LEN]
 Map name.
uint32_t map_ifindex
 Not supported, must be zero.

Detailed Description

Attributes used by BPF_MAP_CREATE.

Field Documentation

◆ inner_map_fd

uint32_t sys_bpf_map_create_attr_t::inner_map_fd

File descriptor of inner map.

◆ key_size

uint32_t sys_bpf_map_create_attr_t::key_size

Size in bytes of keys.

◆ map_flags

uint32_t sys_bpf_map_create_attr_t::map_flags

Map flags. Supported: BPF_F_NO_MAX_ENTRIES.

◆ map_ifindex

uint32_t sys_bpf_map_create_attr_t::map_ifindex

Not supported, must be zero.

◆ map_name

char sys_bpf_map_create_attr_t::map_name[SYS_BPF_OBJ_NAME_LEN]

Map name.

◆ map_type

enum bpf_map_type sys_bpf_map_create_attr_t::map_type

Type of map to create.

◆ max_entries

uint32_t sys_bpf_map_create_attr_t::max_entries

Entry-count limit, or initial bucket-count hint with BPF_F_NO_MAX_ENTRIES.

◆ numa_node

uint32_t sys_bpf_map_create_attr_t::numa_node

Not supported, must be zero.

◆ value_size

uint32_t sys_bpf_map_create_attr_t::value_size

Size in bytes of values.


The documentation for this struct was generated from the following file: