eBPF for Windows
Data Fields
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. More...
 
uint32_t key_size
 Size in bytes of keys. More...
 
uint32_t value_size
 Size in bytes of values. More...
 
uint32_t max_entries
 Maximum number of entries in the map. More...
 
uint32_t map_flags
 Not supported, must be zero. More...
 
uint32_t inner_map_fd
 File descriptor of inner map. More...
 
uint32_t numa_node
 Not supported, must be zero. More...
 
char map_name [SYS_BPF_OBJ_NAME_LEN]
 Map name. More...
 
uint32_t map_ifindex
 Not supported, must be zero. More...
 

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

Not supported, must be zero.

◆ 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

Maximum number of entries in the map.

◆ 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: