eBPF for Windows
Data Fields
_bpf_sock_ops Struct Reference

#include <ebpf_nethooks.h>

Data Fields

bpf_sock_op_type_t op
 
uint32_t family
 IP address family. More...
 
struct {
   union {
      uint32_t   local_ip4
 
      uint32_t   local_ip6 [4]
 
   } 
 Local IP address. More...
 
   uint32_t   local_port
 
}; 
 Local IP address and port stored in network byte order. More...
 
struct {
   union {
      uint32_t   remote_ip4
 
      uint32_t   remote_ip6 [4]
 
   } 
 Remote IP address. More...
 
   uint32_t   remote_port
 
}; 
 Remote IP address and port stored in network byte order. More...
 
uint8_t protocol
 IP protocol. More...
 
uint32_t compartment_id
 Network compartment Id. More...
 
uint64_t interface_luid
 Interface LUID. More...
 

Field Documentation

◆ 

struct { ... }

Local IP address and port stored in network byte order.

◆ 

struct { ... }

Remote IP address and port stored in network byte order.

◆ compartment_id

uint32_t _bpf_sock_ops::compartment_id

Network compartment Id.

◆ family

uint32_t _bpf_sock_ops::family

IP address family.

◆ interface_luid

uint64_t _bpf_sock_ops::interface_luid

Interface LUID.

◆ local_ip4

uint32_t _bpf_sock_ops::local_ip4

◆ local_ip6

uint32_t _bpf_sock_ops::local_ip6[4]

◆ local_port

uint32_t _bpf_sock_ops::local_port

◆ op

bpf_sock_op_type_t _bpf_sock_ops::op

◆ protocol

uint8_t _bpf_sock_ops::protocol

IP protocol.

◆ remote_ip4

uint32_t _bpf_sock_ops::remote_ip4

◆ remote_ip6

uint32_t _bpf_sock_ops::remote_ip6[4]

◆ remote_port

uint32_t _bpf_sock_ops::remote_port

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