NTPL Slicing Examples

Installation and Use of Napatech Link™ Capture Software for Intel® PAC with Intel® Arria® 10 GX FPGA

Platform
Content Type
Quick Guide
Capture Software Version
Link™ Capture Software 12.0

Adding NTPL slicing expressions

Refer to Adding an NTPL Expression for instructions on how to add NTPL expressions to the configuration.

Slicing

This NTPL example captures TCP frames from Port 0 and slices them to 64 bytes plus the size of any layer 2, 3 and 4 protocol headers:
Assign[StreamId = 0; SliceOffset = 64; SliceAddHeader = Layer2And3And4HeaderSize] = (Port == 0) AND (Layer4Protocol == TCP)

For more information, refer to DN-1128 and DN-0449.