Has TCP segment (hastcp)
[ 1 Description ] [ 2 How does it work in the search window? ] [ 3 How does it work in LINQ? ]
Description
Creates a Boolean field that shows true if a specified packet has a TCP segment.
How does it work in the search window?
Select Create field in the search window toolbar, then select the Has TCP segment operation. You need to specify one argument:
Argument | Data type |
---|---|
Packet mandatory | packet |
The data type of the values in the new field is boolean.
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 Has TCP segment operation:
hastcp(packet)