P4C
The P4 Compiler
|
A helper structure used to describe attributes. More...
#include <ebpf_registry.h>
Public Attributes | |
struct bpf_map * | bpf_map |
unsigned int | key_size |
unsigned int | max_entries |
char * | name |
unsigned int | type |
unsigned int | value_size |
A helper structure used to describe attributes.
This structure describes various properties of the ebpf table such as key and value size and the maximum amount of entries possible. In userspace, this space is theoretically unlimited. This table definition points to an actual hashmap managed by uthash, the relation is many-to-one. "name" should not exceed VAR_SIZE. Functions using bpf_table also assume that "name" is a conventional null-terminated string.
struct bpf_map* bpf_table::bpf_map |
unsigned int bpf_table::key_size |
unsigned int bpf_table::max_entries |
char* bpf_table::name |
unsigned int bpf_table::type |
unsigned int bpf_table::value_size |