/
TCP header length (tcphl)

TCP header length (tcphl)

Description

Returns the header length or data offset of a TCP segment. The minimum length is 5 words (20 bytes) and the maximum is 15 words (60 bytes). Learn more here.

How does it work in the search window?

Select Create field in the search window toolbar, then select the TCP header length operation. You need to specify one argument:

Argument

Data type

Argument

Data type

Packet mandatory

packet

The data type of the values in the new field is integer.

How does it work in LINQ?

Use the operator select... as...  and add the operation syntax to create the new field. This is the syntax for the TCP header length operation:

  • tcphl(packet)

Related content

IPv4 header length (ip4hl)
IPv4 header length (ip4hl)
More like this
TCP window size (tcpwin)
TCP window size (tcpwin)
More like this
UDP length (udplen)
UDP length (udplen)
More like this
UDP length (udplen)
UDP length (udplen)
More like this
IPv4 total length (ip4len)
IPv4 total length (ip4len)
More like this
TCP checksum (tcpcs)
TCP checksum (tcpcs)
More like this