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)