Module libpacket::icmp::echo_reply[][src]

Expand description

abstraction for ICMP “echo reply” packets.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Type      |     Code      |          Checksum             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           Identifier          |        Sequence Number        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Data ...
+-+-+-+-+-

Modules

IcmpCodes

Enumeration of available ICMP codes for ICMP echo replay packets. There is actually only one, since the only valid ICMP code is 0.

Structs

EchoReply

Represents an ICMP echo reply packet.

EchoReplyIterable

Used to iterate over a slice of {name}Packets

EchoReplyPacket

A structure enabling manipulation of on the wire packets

Identifier

Represent the “identifier” field of the ICMP echo replay header.

MutableEchoReplyPacket

A structure enabling manipulation of on the wire packets

SequenceNumber

Represent the “sequence number” field of the ICMP echo replay header.