Module pnet_packet::ipv4 [−][src]
Expand description
An IPv4 packet abstraction.
Modules
The IPv4 header flags.
IPv4 header options numbers as defined in http://www.iana.org/assignments/ip-parameters/ip-parameters.xhtml
Structs
Represents an IPv4 Packet.
Used to iterate over a slice of Ipv4Packet
s
Represents the IPv4 Option field.
Used to iterate over a slice of Ipv4OptionPacket
s
Represents an IPv4 option.
A structure enabling manipulation of on the wire packets
A structure enabling manipulation of on the wire packets
A structure enabling manipulation of on the wire packets
A structure enabling manipulation of on the wire packets
Functions
Calculates a checksum of an IPv4 packet header. The checksum field of the packet is regarded as zeros during the calculation.