[][src]Module netsim_embed::icmp

An ICMP packet abstraction.

Modules

IcmpTypes

The enumeration of the recognized ICMP types.

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.

IcmpCode

Represents the "ICMP code" header field.

IcmpIterable

Used to iterate over a slice of IcmpPackets

IcmpPacket

A structure enabling manipulation of on the wire packets

IcmpType

Represents the "ICMP type" header field.

MutableIcmpPacket

A structure enabling manipulation of on the wire packets

Functions

checksum

Calculates a checksum of an ICMP packet.