eBPF for Windows: bpf_link_info Struct Reference

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

#include <ebpf_structs.h>

Data Fields

ebpf_id_t id
 Link ID.
 
ebpf_id_t prog_id
 Program ID.
 
enum bpf_link_type type
 Link type.
 
enum bpf_attach_type attach_type
 Attach type.
 
ebpf_attach_type_t attach_type_uuid
 Attach type UUID.
 
ebpf_program_type_t program_type_uuid
 Program type UUID.
 
union { 
 
   struct { 
 
      uint32_t   ifindex 
 
   }   xdp 
 
   struct { 
 
      uint64_t   cgroup_id 
 
   }   cgroup 
 
   uint8_t   attach_data 
 
};  
 

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

◆ [union]

◆ attach_data

uint8_t bpf_link_info::attach_data

◆ attach_type

◆ attach_type_uuid

struct { ... } bpf_link_info::cgroup

◆ cgroup_id

uint64_t bpf_link_info::cgroup_id

◆ id

◆ ifindex

uint32_t bpf_link_info::ifindex

◆ prog_id

◆ program_type_uuid

◆ type

◆ [struct]

struct { ... } bpf_link_info::xdp


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