Module tcp

Source

Structs§

TcpOption
TCP Option
TcpPacket
Represents a TCP packet.
TcpPacketBuilder
TCP Packet Builder

Enums§

TcpFlag
TCP Flag Kind
TcpOptionKind
TCP Option Kind https://www.iana.org/assignments/tcp-parameters/tcp-parameters.xhtml#tcp-parameters-1

Constants§

DEFAULT_SRC_PORT
Default TCP Source Port
TCPV4_DEFAULT_IP_PACKET_LEN
TCP (IPv4) Default IP Packet Length
TCPV4_DEFAULT_PACKET_LEN
TCP (IPv4) Default Packet Length
TCPV4_MINIMUM_IP_PACKET_LEN
TCP (IPv4) Minimum IP Packet Length
TCPV4_MINIMUM_PACKET_LEN
TCP (IPv4) Minimum Packet Length
TCPV6_DEFAULT_IP_PACKET_LEN
TCP (IPv6) Default IP Packet Length
TCPV6_DEFAULT_PACKET_LEN
TCP (IPv6) Default Packet Length
TCPV6_MINIMUM_IP_PACKET_LEN
TCP (IPv6) Minimum IP Packet Length
TCPV6_MINIMUM_PACKET_LEN
TCP (IPv6) Minimum Packet Length
TCP_DEFAULT_OPTION_LEN
Default TCP Option Length
TCP_HEADER_LEN
Minimum TCP Header Length
TCP_HEADER_MAX_LEN
Maximum TCP Header Length (with options)
TCP_MIN_DATA_OFFSET
Minimum TCP Data Offset
TCP_OPTION_MAX_LEN
Maximum TCP Option Length

Functions§

get_tcp_data_offset
Get the TCP data offset from TCP options
get_tcp_options_length
Get the length of TCP options from TCP data offset