|
eBPF for Windows
|
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 |
| Maximum number of entries in the map. | |
| uint32_t | map_flags |
| Not supported, must be zero. | |
| 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. | |
Attributes used by BPF_MAP_CREATE.
| uint32_t sys_bpf_map_create_attr_t::inner_map_fd |
File descriptor of inner map.
| uint32_t sys_bpf_map_create_attr_t::key_size |
Size in bytes of keys.
| uint32_t sys_bpf_map_create_attr_t::map_flags |
Not supported, must be zero.
| uint32_t sys_bpf_map_create_attr_t::map_ifindex |
Not supported, must be zero.
| char sys_bpf_map_create_attr_t::map_name[SYS_BPF_OBJ_NAME_LEN] |
Map name.
| enum bpf_map_type sys_bpf_map_create_attr_t::map_type |
Type of map to create.
| uint32_t sys_bpf_map_create_attr_t::max_entries |
Maximum number of entries in the map.
| uint32_t sys_bpf_map_create_attr_t::numa_node |
Not supported, must be zero.
| uint32_t sys_bpf_map_create_attr_t::value_size |
Size in bytes of values.