flowmatch_example_ntpl.cpp

Reference Documentation

product_line_custom
IntelĀ® PAC
Napatech SmartNIC
category
Reference Information
Napatech Software Suite: examples/flowmatch/flowmatch_example_ntpl.cpp File Reference
flowmatch_example_ntpl.cpp File Reference
#include <iostream>
#include <nt.h>
#include "flowmatch_example_helper.h"
#include "flowmatch_example_ntpl.h"

Go to the source code of this file.

Functions

void anonymous_namespace{flowmatch_example_ntpl.cpp}::ntplCall (NtConfigStream_t &hCfgStream, const char *str)
 
void assignNtplFilters ()
 

Namespaces

 anonymous_namespace{flowmatch_example_ntpl.cpp}
 

Macros

#define STR_INNER(A)   #A
 
#define STR(A)    STR_INNER(A)
 

Function Documentation

void assignNtplFilters ( void  )

Handle all calls to NTPL in this example. If any NTPL call fails, the application will terminate.

Examples:
flowmatch/flowmatch_example_main.cpp.

Definition at line 71 of file flowmatch_example_ntpl.cpp.

Referenced by main().

Macro Definition Documentation

#define STR_INNER (   A)    #A

Definition at line 52 of file flowmatch_example_ntpl.cpp.

#define STR (   A)    STR_INNER(A)

Definition at line 53 of file flowmatch_example_ntpl.cpp.

Referenced by assignNtplFilters().