Defining Streams Using Filter Logic

Napatech Link-Capture™ Software Features

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Feature Description
Capture Software Version
Link™ Capture Software 12.10

Description

When defining streams based on results from the filter logic, all of the filter functionality can be used.

NTPL example

This NTPL example uses filter logic to define streams so that:

  • Stream 0 receives all UDP frames on ports 0 or 1.
  • Stream 1 receives all TCP frames on ports 0 or 1.
  • Stream 2 receives all SCTP frames on ports 0 or 1.
  • Stream 3 receives all other frames on ports 0 or 1.

HashMode = None
Assign[StreamId = 0; Priority = 0] = (Layer4Protocol == UDP) AND (Port == (0..1))
Assign[StreamId = 1; Priority = 0] = (Layer4Protocol == TCP) AND (Port == (0..1))
Assign[StreamId = 2; Priority = 0] = (Layer4Protocol == SCTP) AND (Port == (0..1))
Assign[StreamId = 3; Priority = 1] = (Port == (0..1))