eBPF for Windows
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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.
 
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 
 
};  
 

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]

union { ... } bpf_link_info

◆ 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]

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]

struct { ... } bpf_link_info::xdp

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