flowmatch_example_flowstat.cpp

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.cpp File Reference
flowmatch_example_flowstat.cpp File Reference
#include <nt.h>
#include <iostream>
#include "flowmatch_example_helper.h"
#include "flowmatch_example_flowstat.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.

Examples:
flowmatch/flowmatch_example_main.cpp.

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.

Examples:
flowmatch/flowmatch_example_main.cpp.

Definition at line 70 of file flowmatch_example_flowstat.cpp.

Referenced by main().