eBPF for Windows: bpf_prog_info Struct Reference
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.
◆ attach_type_uuid
◆ id
◆ link_count
uint32_t bpf_prog_info::link_count
Number of attached links.
◆ map_ids
uintptr_t bpf_prog_info::map_ids
Pointer to caller-allocated array to fill map IDs into.
◆ name
Null-terminated program name.
◆ nr_map_ids
uint32_t bpf_prog_info::nr_map_ids
Number of maps associated with this program.
◆ pinned_path_count
uint32_t bpf_prog_info::pinned_path_count
Number of pinned paths.
◆ type
Program type, if a cross-platform type.
◆ type_uuid
The documentation for this struct was generated from the following file:
- include/ebpf_structs.h