Module pnet::packet::ipv4 []

IPv4 packet abstraction

Structs

Ipv4

Represents an IPv4 Packet

Ipv4Iterable

Used to iterate over a slice of Ipv4Packets

Ipv4Option

Represents the IPv4 Option field

Ipv4OptionIterable

Used to iterate over a slice of Ipv4OptionPackets

Ipv4OptionPacket

A structure enabling manipulation of on the wire packets

Ipv4Packet

A structure enabling manipulation of on the wire packets

MutableIpv4OptionPacket

A structure enabling manipulation of on the wire packets

MutableIpv4Packet

A structure enabling manipulation of on the wire packets

Functions

checksum

Calculates the checksum of an IPv4 packet