Skip to main content

Module icmp

Module icmp 

Source
Expand description

ICMPv6 message handling for FIPS.

Implements ICMPv6 error message generation per RFC 4443. Currently supports Destination Unreachable (Type 1) for packets that cannot be routed.

Enums§

DestUnreachableCode
ICMPv6 Destination Unreachable codes.
Icmpv6Type
ICMPv6 message types.

Constants§

FIPS_IPV6_OVERHEAD
FIPS encapsulation overhead for compressed IPv6 shim traffic (port 256).
FIPS_OVERHEAD
FIPS base encapsulation overhead for DataPacket (excluding port payload).
IPPROTO_ICMPV6
IPv6 header next-header value for ICMPv6.

Functions§

build_dest_unreachable
Build an ICMPv6 Destination Unreachable response.
build_packet_too_big
Build an ICMPv6 Packet Too Big response.
effective_ipv6_mtu
Calculate the effective IPv6 MTU for FIPS-encapsulated traffic.
should_send_icmp_error
Check if we should send an ICMPv6 error for this packet.