segment_inline_example.c

Reference Documentation

Platform
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.15
Napatech Software Suite: examples/net/segment_inline/segment_inline_example.c File Reference
segment_inline_example.c File Reference
#include <nt.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

static void StopApplication (int sig)
 
int main (void)
 

Variables

static atomic_int appRunning = 1
 

Function Documentation

static void StopApplication ( int  sig)
static

The function called when user is pressing CTRL-C

Definition at line 155 of file segment_inline_example.c.

Referenced by main().

int main ( void  )

Definition at line 162 of file segment_inline_example.c.

Variable Documentation

atomic_int appRunning = 1
static

Definition at line 141 of file segment_inline_example.c.

Referenced by main(), and StopApplication().