transmit_on_timestamp_example.c

Reference Documentation

product_line_custom
IntelĀ® PAC
Napatech SmartNIC
category
Reference Information
Napatech Software Suite: examples/net/transmit_on_timestamp/transmit_on_timestamp_example.c File Reference
transmit_on_timestamp_example.c File Reference
#include <nt.h>

Go to the source code of this file.

Functions

static void printError (const char *prefix, int errorCode)
 
int main (void)
 

Macros

#define PACKETS   100000
 
#define PACKET_SIZE   296
 
#define PORT   0
 
#define ADAPTER   0
 

Function Documentation

static void printError ( const char *  prefix,
int  errorCode 
)
static

Definition at line 141 of file transmit_on_timestamp_example.c.

Referenced by main().

int main ( void  )

Definition at line 147 of file transmit_on_timestamp_example.c.

Macro Definition Documentation

#define PACKETS   100000

Definition at line 134 of file transmit_on_timestamp_example.c.

Referenced by main().

#define PORT   0

Definition at line 136 of file transmit_on_timestamp_example.c.

Referenced by main().

#define ADAPTER   0
Examples:
net/transmit_on_timestamp/transmit_on_timestamp_example.c, and net/transmit_on_timestamp_setclock/transmit_on_timestamp_setclock_example.c.

Definition at line 137 of file transmit_on_timestamp_example.c.

Referenced by main().