Filter Expressions

Reference Documentation

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.10
Napatech Software Suite: Filter Expressions

This section specifies the syntax and semantics for defining filter expressions.

Supported Options Per Feature Set

Supported Feature Sets
N-ANL4 N-ANL5 N-ANL6
N-ANL7
N-ANL8
N-ANL9
N-ANL10
X X X
Options Protocol Tests   X X
Data Tests     X
IP Match Tests   X X
Length Tests     X
Error Tests X X X
Port Tests X X X
Key Match Tests   X X
Key Tests   X X

The syntax for the filter expressions is shown below.

<FilterExpressionSpec>  ::= <FilterExpression> | ( '(' <FilterExpressionSpec> [ <FilterOperator> <FilterExpressionSpec> ] ')' )
<FilterExpression>      ::= 'All' | <ProtocolTest> | <DataTest> | <IPMatchTest> |
                            <LengthTest> | <ErrorTest> | <PortTest> |
                            <KeyMatchTest> | <KeyTest>
<FilterOperator>        ::= 'AND' | 'OR'

A filter expression consists of one or more tests combined using one or more filter operators ('AND' and/or 'OR'). The tests can be: