NdisSetNblTimestampInfo function (ndis/nbltimestamp.h)

Miniport drivers call NdisSetNblTimestampInfo to store a hardware or software timestamp in a NET_BUFFER_LIST (NBL) structure.

Syntax

void NdisSetNblTimestampInfo(
  [_Inout_] NET_BUFFER_LIST                 *Nbl,
  [_In_]    NET_BUFFER_LIST_TIMESTAMP const *NblTimestamp
);

Parameters

[_Inout_] Nbl

A pointer to a NET_BUFFER_LIST structure.

[_In_] NblTimestamp

A pointer to an initialized NET_BUFFER_LIST_TIMESTAMP structure.

Return value

None

Remarks

The miniport driver can store a software or hardware timestamp in an NBL's NetBufferListInfo array. The driver fills the Timestamp field of the NET_BUFFER_LIST_TIMESTAMP structure and calls NdisSetNblTimestampInfo, passing in the structure.

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

NET_BUFFER_LIST

NdisGetNblTimestampInfo

NdisCopyNblTimestampInfo

Overview of NDIS packet timestamping

Attaching timestamps to packets