Module pnet_packet::tcp
source · Expand description
A TCP packet abstraction.
Modules
- The TCP flags.
- The TCP header options.
Structs
- A structure enabling manipulation of on the wire packets
- A structure enabling manipulation of on the wire packets
- Represents a TCP packet.
- Used to iterate over a slice of
TcpPacket
s - A TCP option.
- Used to iterate over a slice of
TcpOptionPacket
s - Represents a TCP option.
- A structure enabling manipulation of on the wire packets
- A structure enabling manipulation of on the wire packets
Functions
- Calculate a checksum for a packet built on IPv4.
- Calculate the checksum for a packet built on IPv4, Advanced version which accepts an extra slice of data that will be included in the checksum as being part of the data portion of the packet.
- Calculate a checksum for a packet built on IPv6.
- Calculate the checksum for a packet built on IPv6, Advanced version which accepts an extra slice of data that will be included in the checksum as being part of the data portion of the packet.