Document toolboxDocument toolbox

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)