eBPF for Windows
Data Fields
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. More...
 
enum bpf_prog_type type
 Program type, if a cross-platform type. More...
 
uint32_t nr_map_ids
 Number of maps associated with this program. More...
 
uintptr_t map_ids
 Pointer to caller-allocated array to fill map IDs into. More...
 
char name [BPF_OBJ_NAME_LEN]
 Null-terminated program name. More...
 
ebpf_program_type_t type_uuid
 Program type UUID. More...
 
ebpf_attach_type_t attach_type_uuid
 Attach type UUID. More...
 
uint32_t pinned_path_count
 Number of pinned paths. More...
 
uint32_t link_count
 Number of attached links. More...
 

Detailed Description

eBPF program information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a program fd.

Field Documentation

◆ attach_type_uuid

ebpf_attach_type_t bpf_prog_info::attach_type_uuid

Attach type UUID.

◆ id

ebpf_id_t bpf_prog_info::id

Program 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

char bpf_prog_info::name[BPF_OBJ_NAME_LEN]

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

enum bpf_prog_type bpf_prog_info::type

Program type, if a cross-platform type.

◆ type_uuid

ebpf_program_type_t bpf_prog_info::type_uuid

Program type UUID.


The documentation for this struct was generated from the following file: