Module pnet_packet::icmp::destination_unreachable[][src]

Expand description

abstraction for “destination unreachable” ICMP packets.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Type      |     Code      |          Checksum             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             unused                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|      Internet Header + 64 bits of Original Data Datagram      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Modules

Enumeration of the recognized ICMP codes for “destination unreachable” ICMP packets.

Structs

Represents an “echo request” ICMP packet.

Used to iterate over a slice of DestinationUnreachablePackets

A structure enabling manipulation of on the wire packets

A structure enabling manipulation of on the wire packets