Expand description
ICMPv6 protocol implementation
Provides ICMPv6 message handling for IPv6, including echo request/reply (ping6), destination unreachable, packet too big, time exceeded, and integration with NDP for neighbor/router discovery.
Structs§
- Icmpv6
Header - ICMPv6 message header (4 bytes minimum)
- Icmpv6
Stats - ICMPv6 statistics
Constants§
- ICMP
V6_ ADDR_ UNREACHABLE - Address unreachable
- ICMP
V6_ ADMIN_ PROHIBITED - Communication with destination administratively prohibited
- ICMP
V6_ BEYOND_ SCOPE - Beyond scope of source address
- ICMP
V6_ DEST_ UNREACHABLE - Destination Unreachable
- ICMP
V6_ ECHO_ HEADER_ SIZE - ICMPv6 echo header size (type + code + checksum + id + seq = 8 bytes)
- ICMP
V6_ ECHO_ REPLY - Echo Reply (pong)
- ICMP
V6_ ECHO_ REQUEST - Echo Request (ping)
- ICMP
V6_ FRAGMENT_ REASSEMBLY_ EXCEEDED - Fragment reassembly time exceeded
- ICMP
V6_ HEADER_ SIZE - Minimum ICMPv6 header size (type + code + checksum = 4 bytes)
- ICMP
V6_ HOP_ LIMIT_ EXCEEDED - Hop limit exceeded in transit
- ICMP
V6_ NEIGHBOR_ ADVERT - Neighbor Advertisement
- ICMP
V6_ NEIGHBOR_ SOLICIT - Neighbor Solicitation
- ICMP
V6_ NO_ ROUTE - No route to destination
- ICMP
V6_ PACKET_ TOO_ BIG - Packet Too Big
- ICMP
V6_ PARAMETER_ PROBLEM - Parameter Problem
- ICMP
V6_ PORT_ UNREACHABLE - Port unreachable
- ICMP
V6_ ROUTER_ ADVERT - Router Advertisement
- ICMP
V6_ ROUTER_ SOLICIT - Router Solicitation
- ICMP
V6_ TIME_ EXCEEDED - Time Exceeded
Functions§
- build_
dest_ unreachable - Build a Destination Unreachable message.
- build_
echo_ reply - Build an ICMPv6 Echo Reply message.
- build_
echo_ request - Build an ICMPv6 Echo Request message.
- build_
packet_ too_ big - Build a Packet Too Big message.
- build_
time_ exceeded - Build a Time Exceeded message.
- compute_
icmpv6_ checksum - Compute ICMPv6 checksum (delegates to ipv6 module).
- get_
last_ echo_ reply_ seq - Get the last received echo reply sequence number.
- handle_
icmpv6 - Handle an incoming ICMPv6 message.
- init
- Initialize the ICMPv6 subsystem.
- reset_
echo_ reply_ tracker - Reset the echo reply tracker.