|
eBPF for Windows
|
eBPF program information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a program fd. More...
#include <ebpf_structs.h>
Data Fields | |
| ebpf_id_t | id |
| Program ID. | |
| enum bpf_prog_type | type |
| Program type, if a cross-platform type. | |
| uint32_t | nr_map_ids |
| Number of maps associated with this program. | |
| uintptr_t | map_ids |
| Pointer to caller-allocated array to fill map IDs into. | |
| char | name [BPF_OBJ_NAME_LEN] |
| Null-terminated program name. | |
| ebpf_program_type_t | type_uuid |
| Program type UUID. | |
| ebpf_attach_type_t | attach_type_uuid |
| Attach type UUID. | |
| uint32_t | pinned_path_count |
| Number of pinned paths. | |
| uint32_t | link_count |
| Number of attached links. | |
eBPF program information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a program fd.
| ebpf_attach_type_t bpf_prog_info::attach_type_uuid |
Attach type UUID.
| ebpf_id_t bpf_prog_info::id |
Program ID.
| uint32_t bpf_prog_info::link_count |
Number of attached links.
| uintptr_t bpf_prog_info::map_ids |
Pointer to caller-allocated array to fill map IDs into.
| char bpf_prog_info::name[BPF_OBJ_NAME_LEN] |
Null-terminated program name.
| uint32_t bpf_prog_info::nr_map_ids |
Number of maps associated with this program.
| uint32_t bpf_prog_info::pinned_path_count |
Number of pinned paths.
| enum bpf_prog_type bpf_prog_info::type |
Program type, if a cross-platform type.
| ebpf_program_type_t bpf_prog_info::type_uuid |
Program type UUID.