INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES structure (iphlpapi.h)

Describes the software timestamping capabilities of a NIC's miniport driver.

For more info, and code examples, see Packet timestamping.

Syntax

typedef struct _INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES {
  BOOLEAN AllReceive;
  BOOLEAN AllTransmit;
  BOOLEAN TaggedTransmit;
} INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES, *PINTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES;

Members

AllReceive

Type: BOOLEAN

Also contains members that describe the software timestamping capabilities of a NIC's miniport driver. Not a hardware capability. TRUE indicates that the NIC's miniport driver can generate a software timestamp for all received packets. A value of FALSE indicates that the software is not capable of this.

AllTransmit

Type: BOOLEAN

Not a hardware capability. Analogous to AllReceiveSw, except it applies to the transmit direction. TRUE indicates that the NIC's miniport driver can generate a software timestamp for all transmitted packets. A value of FALSE indicates that the software is not capable of this.

TaggedTransmit

Type: BOOLEAN

Not a hardware capability. TRUE indicates that the NIC's miniport driver can generate a software timestamp for any specific transmitted packet when indicated to do so by the application. A value of FALSE indicates that the software is not capable of this. See TIMESTAMPING_CONFIG (and TIMESTAMPING_FLAG_TX) to determine how to request a timestamp when sending UDP packets through Windows Sockets.

Remarks

All of the INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES structure's members represent software timestamp capabilities. The software timestamp generated by the NIC driver corresponds to a counter value obtained by calling QueryPerformanceCounter.

Having both hardware and software timestamps enabled together isn't supported.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header iphlpapi.h

See also