eBPF for Windows
Loading...
Searching...
No Matches
Data Fields
_bpf_sock_addr_network_context Struct Reference

Network context information for the connection. Available for CONNECT_AUTHORIZATION and RECV_ACCEPT attach types. More...

#include <ebpf_nethooks.h>

Data Fields

uint32_t version
 Struct version (currently 1).
 
uint32_t interface_type
 IANA interface type, or UINT32_MAX if not available.
 
uint32_t tunnel_type
 IANA tunnel type; 0 if not a tunnel, or UINT32_MAX if not available.
 
uint64_t next_hop_interface_luid
 Next-hop interface LUID, or 0 if not available.
 
uint32_t sub_interface_index
 Sub-interface index, or 0 if not available.
 

Detailed Description

Network context information for the connection. Available for CONNECT_AUTHORIZATION and RECV_ACCEPT attach types.

Field Documentation

◆ interface_type

uint32_t _bpf_sock_addr_network_context::interface_type

IANA interface type, or UINT32_MAX if not available.

◆ next_hop_interface_luid

uint64_t _bpf_sock_addr_network_context::next_hop_interface_luid

Next-hop interface LUID, or 0 if not available.

◆ sub_interface_index

uint32_t _bpf_sock_addr_network_context::sub_interface_index

Sub-interface index, or 0 if not available.

◆ tunnel_type

uint32_t _bpf_sock_addr_network_context::tunnel_type

IANA tunnel type; 0 if not a tunnel, or UINT32_MAX if not available.

◆ version

uint32_t _bpf_sock_addr_network_context::version

Struct version (currently 1).


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