Mitigator BPF API
Functions and types programs can use to filter packets.
Data Fields
NetAddr Union Reference

Network address, either IPv4 or IPv6. More...

#include <mitigator_bpf.h>

Data Fields

struct Ip6Addr v6
 
uint8_t padding [12]
 
IpAddr v4
 

Detailed Description

Network address, either IPv4 or IPv6.

Field Documentation

◆ padding

uint8_t NetAddr::padding[12]

Reserved, zero-filled by API.

◆ v4

IpAddr NetAddr::v4

IPv4 address.

◆ v6

struct Ip6Addr NetAddr::v6

IPv6 address.


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