NdisGetNblTimestampInfo function (ndis/nbltimestamp.h)

Miniport drivers call NdisGetNblTimestampInfo to retrieve a hardware or software timestamp stored in a NET_BUFFER_LIST (NBL) structure.

Syntax

void NdisGetNblTimestampInfo(
  [_In_]  NET_BUFFER_LIST const     *Nbl,
  [_Out_] NET_BUFFER_LIST_TIMESTAMP *NblTimestamp
);

Parameters

[_In_] Nbl

A pointer to the NBL where the miniport stored the timestamp.

[_Out_] NblTimestamp

A pointer to a NET_BUFFER_LIST_TIMESTAMP structure. When this function returns, this member contains the timestamp that the miniport stored in the NBL.

Return value

None

Remarks

Miniport drivers can use NdisSetNblTimestampInfo and NdisCopyNblTimestampInfo to set 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.
Target Platform Universal
Header ndis/nbltimestamp.h (include ndis.h)
Library ndis.lib

See also

NET_BUFFER_LIST_TIMESTAMP

NdisSetNblTimestampInfo

NdisCopyNblTimestampInfo

Overview of NDIS packet timestamping

Attaching timestamps to packets