Module pnet::packet::ipv4

source ·
Expand description

An IPv4 packet abstraction.

Modules

Structs

Functions

  • Calculates a checksum of an IPv4 packet header. The checksum field of the packet is regarded as zeros during the calculation.