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

ICMP and ICMPv6 header. More...

#include <mitigator_bpf.h>

Detailed Description

ICMP and ICMPv6 header.

ICMP and ICMPv6 share header structure but not types and codes.
If you modify the fields of this header and return RESULT_PASS from the filter, call set_packet_mangled() to update checksums.
See also

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