HeaderTCP

Summary

Represents a TCP message header object.

See also

MessageTCP

Properties

Structure

class HeaderTCP
acknowledgement_number

This field contains the number of acknowledgement.

Type

uint32

auto_port

The auto port value of the packet, True if auto port is enabled, False otherwise.

Type

bool

checksum

The 16bit checksum field is used for error-checking of the header.

Type

uint16 or None

data_offset

This field stores the total size of a TCP header in multiples of four bytes.

Type

uint16 or None

flags

This field contains control flags that manage data flow in specific situations.

Type

int32

flags_str

Gets the control flags values of the packet in string format (interpretation of the flags attribute).

Type

str

option

The options of the packet.

Type

IIPOptions

port_destination

It contains the destination port of the message.

Type

uint16

port_source

It contains the source port of the message.

Type

uint16

protocol_type

The protocol type of the message.

Type

TransportProtocols

sequence_number

This field contains the sequence number of messages that are either recently received or expected to be sent.

Type

uint32

urgent_pointer

This field represents an offset from the sequence number indicating the last urgent data byte.

Type

uint16

window_size

This field indicates the size of the receive window.

Type

uint16