File Interface

Software Architecture

Napatech SmartNIC
Overview Document


The file interface in Napatech Software Suite makes it possible to open a network stream to a previously captured file instead of to an accelerator. This is done through the same API and offers almost the same features as when opening a stream to an accelerator. 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.