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