flowmatch_example_flowstat.h

Reference Documentation

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.10
Napatech Software Suite: examples/flowmatch/flowmatch_example_flowstat.h File Reference
flowmatch_example_flowstat.h File Reference
#include <nt.h>

Go to the source code of this file.

Functions

void openAndClearFlowStats (NtStatStream_t &hStatStream)
 
void printAndCloseFlowStats (NtStatStream_t &hStatStream)
 

Function Documentation

void openAndClearFlowStats ( NtStatStream_t hStatStream)

Opens a statistics stream and read from it once with the clear flag set to 1.

Definition at line 53 of file flowmatch_example_flowstat.cpp.

Referenced by main().

void printAndCloseFlowStats ( NtStatStream_t hStatStream)

Read from an open statistics stream and print the data. Then close the stream.

Definition at line 70 of file flowmatch_example_flowstat.cpp.

Referenced by main().