Expand description
An ICMP packet abstraction.
Modules§
- 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
Header - Represents the ICMPv4 header.
- Icmp
Iterable - Used to iterate over a slice of
IcmpPacket
s - Icmp
Packet - A structure enabling manipulation of on the wire packets
- Mutable
Icmp Packet - A structure enabling manipulation of on the wire packets
Enums§
- Icmp
Type - Represents the “ICMP type” header field.
Constants§
- ICMP
V4_ HEADER_ LEN - ICMPv4 Header Length.
- ICMP
V4_ IP_ PACKET_ LEN - ICMPv4 IP Packet Length.
- ICMP
V4_ PACKET_ LEN - ICMPv4 Minimum Packet Length.
Functions§
- checksum
- Calculates a checksum of an ICMP packet.