Bewerken

Delen via


NET_BUFFER_LIST_TIMESTAMP structure (ndis/nbltimestamp.h)

The NET_BUFFER_LIST_TIMESTAMP structure represents a software or hardware timestamp that is generated on reception or transmission of a packet.

Syntax

typedef struct _NET_BUFFER_LIST_TIMESTAMP {
  ULONG64 Timestamp;
} NET_BUFFER_LIST_TIMESTAMP, *PNET_BUFFER_LIST_TIMESTAMP;

Members

Timestamp

A 64-bit integer value that represents a software or hardware timestamp.

Remarks

Miniport drivers can store a timestamp in the NET_BUFFER_LIST (NBL) structure's NetBufferListInfo array. Drivers can use the NET_BUFFER_LIST_TIMESTAMP structure to set the timestamp in the NBL's NetBufferListInfo field. The driver fills the Timestamp field of the NET_BUFFER_LIST_TIMESTAMP structure and calls NdisSetNblTimestampInfo, passing in the structure.

Miniport drivers can use NdisGetNblTimestampInfo and NdisCopyNblTimestampInfo to retrieve and copy timestamps.

For more information on generating hardware and software timestamps, see Attaching timestamps to packets.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022. Supported in NDIS 6.82 and later.
Header ndis/nbltimestamp.h (include ndis.h)

See also

NdisSetNblTimestampInfo

NdisGetNblTimestampInfo

NdisCopyNblTimestampInfo

Overview of NDIS packet timestamping

Attaching timestamps to packets