timesupport.h

Reference Documentation

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.10
Napatech Software Suite: examples/common/timesupport.h File Reference
timesupport.h File Reference
#include <winsock2.h>
#include <sys/timeb.h>
#include <time.h>

Go to the source code of this file.

Macros

#define timegm   _mkgmtime
 

Functions

int gettimeofday (struct timeval *tv, struct timezone *tz)
 

Macro Definition Documentation

#define timegm   _mkgmtime
Examples:
net/replayGS/replayGS_example.c.

Definition at line 65 of file timesupport.h.

Referenced by ParseStartTime().

Function Documentation

int gettimeofday ( struct timeval *  tv,
struct timezone *  tz 
)

This file contain the Windows time support functions

Examples:
net/ipfdemo/ipfdemo_example.c, and pps/pps_example.c.

Referenced by GetSystemTimeNoArg(), main(), and PpsGetOsTime().