Expand description
A TCP packet abstraction.
Modules§
- TcpFlags
- The TCP flags.
- TcpOption
Numbers - The TCP header options.
Structs§
- Mutable
TcpOption Packet - A structure enabling manipulation of on the wire packets
- Mutable
TcpPacket - A structure enabling manipulation of on the wire packets
- Tcp
- Represents a TCP packet.
- TcpIterable
- Used to iterate over a slice of
{name}Packet
s - TcpOption
- A TCP option.
- TcpOption
Iterable - Used to iterate over a slice of
{name}Packet
s - TcpOption
Number - Represents a TCP option.
- TcpOption
Packet - A structure enabling manipulation of on the wire packets
- TcpPacket
- A structure enabling manipulation of on the wire packets
Functions§
- ipv4_
checksum - Calculate a checksum for a packet built on IPv4.
- ipv4_
checksum_ adv - 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.
- ipv6_
checksum - Calculate a checksum for a packet built on IPv6.
- ipv6_
checksum_ adv - 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.