Modulesยง
Structsยง
- IPv4
Packet - A struct detailing an IPv4Packet https://en.wikipedia.org/wiki/Internet_Protocol_version_4
- IPv6
Packet - A struct detailing an IPv6Packet https://en.wikipedia.org/wiki/IPv6
- Pseudo
Header V4 - Struct defining the IPv4 pseudo-header for checksum calculation.
- Pseudo
Header V6 - Struct defining the IPv6 pseudo-header for checksum calculation.
Enumsยง
- Packet
Payload - Definition of the IPV4Packet payload (either ICMPv4, UDP, TCP, or unimplemented)
- Pseudo
Header - Struct defining a pseudo header that is used by both TCP and UDP to calculate their checksum
Functionsยง
- build_
ip_ ๐packet - Wrap a transport-layer payload in an IPv4 or IPv6 header.
- calculate_
checksum - Calculate the checksum for a UDP/TCP packet.