Expand description
abstraction for “echo request” ICMP packets.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Code | Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Identifier | Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Data ...
+-+-+-+-+-
Modules§
- Icmp
Codes - Enumeration of available ICMP codes for “echo reply” ICMP packets. There is actually only one, since the only valid ICMP code is 0.
Structs§
- Echo
Request - Represents an “echo request” ICMP packet.
- Echo
Request Iterable - Used to iterate over a slice of
EchoRequestPacket
s - Echo
Request Packet - A structure enabling manipulation of on the wire packets
- Identifier
- Represents the identifier field.
- Mutable
Echo Request Packet - A structure enabling manipulation of on the wire packets
- Sequence
Number - Represents the sequence number field.