Module xenet_packet::icmp::echo_request
source · Expand description
abstraction for “echo request” ICMP packets.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Code | Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Identifier | Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Data ...
+-+-+-+-+-
Modules
- Enumeration of available ICMP codes for “echo reply” ICMP packets. There is actually only one, since the only valid ICMP code is 0.
Structs
- Represents an “echo request” ICMP packet.
- Used to iterate over a slice of
EchoRequestPackets - A structure enabling manipulation of on the wire packets
- Represents the identifier field.
- A structure enabling manipulation of on the wire packets
- Represents the sequence number field.