Module pnet_packet::tcp [] [src]

TCP packet abstraction

Modules

TcpFlags

TCP flags

TcpOptionNumbers

TCP header options

Structs

MutableTcpOptionPacket

A structure enabling manipulation of on the wire packets

MutableTcpPacket

A structure enabling manipulation of on the wire packets

Tcp

Represents a TCP Packet

TcpIterable

Used to iterate over a slice of TcpPackets

TcpOption

TCP option

TcpOptionIterable

Used to iterate over a slice of TcpOptionPackets

TcpOptionNumber

Represents a TCP option

TcpOptionPacket

A structure enabling manipulation of on the wire packets

TcpPacket

A structure enabling manipulation of on the wire packets

Functions

ipv4_checksum

Calculate the 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 the 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.