Mitigator BPF API
Functions and types programs can use to filter packets.
VlanHeader Struct Reference

VLAN header (802.1q). More...

#include <mitigator_bpf.h>

Detailed Description

VLAN header (802.1q).

If type of EtherHeader is ETHER_TYPE_8021Q, this header follows EtherHeader. The type of VlanHeader identifies network layer (L3) protocol in this case.

See also
vlan_get_id(), vlan_set_id() for VLAN ID access.

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