Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
timestamping.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <asm/types.h>
#include <linux/net_tstamp.h>
#include <linux/errqueue.h>

Go to the source code of this file.

Macros

#define SO_TIMESTAMPING   37
 
#define SCM_TIMESTAMPING   SO_TIMESTAMPING
 
#define SO_TIMESTAMPNS   35
 
#define SIOCGSTAMPNS   0x8907
 
#define SIOCSHWTSTAMP   0x89b0
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

#define SCM_TIMESTAMPING   SO_TIMESTAMPING

Definition at line 50 of file timestamping.c.

#define SIOCGSTAMPNS   0x8907

Definition at line 58 of file timestamping.c.

#define SIOCSHWTSTAMP   0x89b0

Definition at line 62 of file timestamping.c.

#define SO_TIMESTAMPING   37

Definition at line 49 of file timestamping.c.

#define SO_TIMESTAMPNS   35

Definition at line 54 of file timestamping.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 317 of file timestamping.c.