flowmatch_example_flowstat.h

Reference Documentation

Platform
IntelĀ® PAC
Napatech SmartNIC
Content Type
Reference Information
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 52 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 69 of file flowmatch_example_flowstat.cpp.

Referenced by main().