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