IPv6 header.  
 More...
#include <mitigator_bpf.h>
IPv6 header. 
Access the header as follows: 
void * packet_network_header(Context ctx)
Get packet network header, e.g. IPv4 header.
 
 - Note
 - This function is for advanced users. Prefer packet_flow() to get addresses. Prefer packet_transport_payload() to access payload and its length.
 
- 
If you modify the fields of this header and return RESULT_PASS from the filter, call set_packet_mangled() to update checksums.
 
- See also
 - packet_network_proto() to test if IPv6 header is present. 
 
- 
Ip6Addr 
 
- 
https://en.wikipedia.org/wiki/IPv6_packet 
 
- 
https://tools.ietf.org/html/rfc8200 
 
The documentation for this struct was generated from the following file: