Defining Streams Using Filter Logic

Napatech Link™ Software Features

product_line_custom
Intel® PAC
Napatech SmartNIC
category
Feature Description

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))