Expand description
An ICMP packet abstraction.
Modules§
- Icmp
Types - The enumeration of the recognized ICMP types.
- destination_
unreachable - abstraction for “destination unreachable” ICMP packets.
- echo_
reply - abstraction for ICMP “echo reply” packets.
- echo_
request - abstraction for “echo request” ICMP packets.
- time_
exceeded - abstraction for “time exceeded” ICMP packets.
Structs§
- Icmp
- Represents a generic ICMP packet.
- Icmp
Code - Represents the “ICMP code” header field.
- Icmp
Iterable - Used to iterate over a slice of
{name}Packet
s - Icmp
Packet - A structure enabling manipulation of on the wire packets
- Icmp
Type - Represents the “ICMP type” header field.
- Mutable
Icmp Packet - A structure enabling manipulation of on the wire packets
Functions§
- checksum
- Calculates a checksum of an ICMP packet.