Go to the source code of this file.
|
| #define | __uint(field_name, field_value) int(*field_name)[field_value] |
| | Declare a field with a given size in a BPF map.
|
| |
| #define | __type(field_name, field_type) typeof(field_type)* field_name |
| | Declare a field with a given type in a BPF map.
|
| |
| #define | __array(field_name, map_template) typeof(map_template)* field_name[] |
| | Declare the value in a BPF map of type map-in-map or program-in-map.
|
| |
| #define | SEC(NAME) __attribute__((section(NAME))) |
| | LLVM attribute to place a variable in a specific ELF section.
|
| |
| #define | bpf_map_def _ebpf_map_definition_in_file |
| |
| #define | NULL ((void*)0) |
| |
| #define | _WIN32 |
| |
◆ __array
| #define __array |
( |
|
field_name, |
|
|
|
map_template |
|
) |
| typeof(map_template)* field_name[] |
Declare the value in a BPF map of type map-in-map or program-in-map.
◆ __type
| #define __type |
( |
|
field_name, |
|
|
|
field_type |
|
) |
| typeof(field_type)* field_name |
Declare a field with a given type in a BPF map.
◆ __uint
| #define __uint |
( |
|
field_name, |
|
|
|
field_value |
|
) |
| int(*field_name)[field_value] |
Declare a field with a given size in a BPF map.
◆ _WIN32
◆ bpf_map_def
◆ NULL
◆ SEC
LLVM attribute to place a variable in a specific ELF section.