File Interface

Software Architecture

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Overview Document
Capture Software Version
Link™ Capture Software 12.10

Description

The file interface makes it possible to open a network stream to a previously captured file instead of to a SmartNIC. This is done through the same API and offers almost the same features as when opening a stream to a SmartNIC. It is even possible to do post-processing on the data through the packet-based interface.

For this feature to work, the file must contain a file header that can be achieved from a call to the NT_NetRxRead function followed by data segments achieved through the NT_NetRxGet function. These functions are defined in the stream_net.h file (see DN-0449). The stream must be opened as a segment stream and the received segments must be saved unchanged to the file.