eBPF for Windows
Data Fields
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. More...
 
ebpf_id_t prog_id
 Program ID. More...
 
enum bpf_link_type type
 Link type. More...
 
enum bpf_attach_type attach_type
 Attach type. More...
 
ebpf_attach_type_t attach_type_uuid
 Attach type UUID. More...
 
ebpf_program_type_t program_type_uuid
 Program type UUID. More...
 
union {
   struct {
      uint32_t   ifindex
 
   }   xdp
 
   struct {
      uint64_t   cgroup_id
 
   }   cgroup
 
   uint8_t   attach_data
 
}; 
 

Detailed Description

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

Field Documentation

◆ 

union { ... }

◆ attach_data

uint8_t bpf_link_info::attach_data

◆ attach_type

enum bpf_attach_type bpf_link_info::attach_type

Attach type.

◆ attach_type_uuid

ebpf_attach_type_t bpf_link_info::attach_type_uuid

Attach type UUID.

◆ 

struct { ... } bpf_link_info::cgroup

◆ cgroup_id

uint64_t bpf_link_info::cgroup_id

◆ id

ebpf_id_t bpf_link_info::id

Link ID.

◆ ifindex

uint32_t bpf_link_info::ifindex

◆ prog_id

ebpf_id_t bpf_link_info::prog_id

Program ID.

◆ program_type_uuid

ebpf_program_type_t bpf_link_info::program_type_uuid

Program type UUID.

◆ type

enum bpf_link_type bpf_link_info::type

Link type.

◆ 

struct { ... } bpf_link_info::xdp

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