capture_example.c

Reference Documentation

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

Go to the source code of this file.

Data Structures

struct  ntpcap_ts_s
 
struct  ntpcap_hdr_s
 

Functions

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

Variables

atomic_int appRunning = 0
 

Function Documentation

static void StopApplication ( int  sig)
static

Definition at line 176 of file capture_example.c.

Referenced by main().

int main ( void  )

Definition at line 187 of file capture_example.c.

Variable Documentation

atomic_int appRunning = 0

Definition at line 151 of file capture_example.c.

Referenced by main(), and StopApplication().