TIMESTAMPING_CONFIG structure (mstcpip.h)

Describes the input structure used by the SIO_TIMESTAMPING configuration IOCTL to configure timestamp reception for a datagram socket.

Syntax

typedef struct _TIMESTAMPING_CONFIG {
  ULONG  Flags;
  USHORT TxTimestampsBuffered;
} TIMESTAMPING_CONFIG, *PTIMESTAMPING_CONFIG;

Members

Flags

Type: ULONG

Enable/disable timestamp reception for rx/tx direction.

Use the values TIMESTAMPING_FLAG_RX (0x1) and TIMESTAMPING_FLAG_TX (0x2) (both defined in mstcpip.h). Specify a value to enable timestamp reception for that direction; and omit a value to disable timestamp reception for that direction.

TxTimestampsBuffered

Type: USHORT

Determines how many tx timestamps may be buffered. When the count of tx timestamps that have been buffered reaches a value equal to TxTimestampsBuffered, and a new tx timestamp has been generated, the new timestamp will be discarded.

Requirements

   
Header mstcpip.h