Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
hwtstamp_config Struct Reference

#include <net_tstamp.h>

Data Fields

int flags
 
int tx_type
 
int rx_filter
 

Detailed Description

struct hwtstamp_config - SIOCSHWTSTAMP parameter

: no flags defined right now, must be zero : one of HWTSTAMP_TX_* : one of one of HWTSTAMP_FILTER_*

SIOCSHWTSTAMP expects a &struct ifreq with a ifr_data pointer to this structure. dev_ifsioc() in the kernel takes care of the translation between 32 bit userspace and 64 bit kernel. The structure is intentionally chosen so that it has the same layout on 32 and 64 bit systems, don't break this!

Definition at line 41 of file net_tstamp.h.

Field Documentation

int flags

Definition at line 42 of file net_tstamp.h.

int rx_filter

Definition at line 44 of file net_tstamp.h.

int tx_type

Definition at line 43 of file net_tstamp.h.


The documentation for this struct was generated from the following file: