NdisCopyNblTimestampInfo function (ndis/nbltimestamp.h)

Miniport drivers call the NdisCopyNblTimestampInfo function to copy a software or hardware timestamp from a source NET_BUFFER_LIST structure to a destination NET_BUFFER_LIST structure.

Syntax

void NdisCopyNblTimestampInfo(
  [_Inout_] NET_BUFFER_LIST       *NblDest,
  [_In_]    NET_BUFFER_LIST const *NblSrc
);

Parameters

[_Inout_] NblDest

A pointer to a destination NET_BUFFER_LIST structure.

[_In_] NblSrc

A pointer to the source NET_BUFFER_LIST structure where the miniport driver stored the timestamp.

Return value

None

Remarks

Miniport drivers can use NdisSetNblTimestampInfo and NdisGetNblTimestampInfo to set and retrieve 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

NET_BUFFER_LIST_TIMESTAMP

NdisSetNblTimestampInfo

NdisGetNblTimestampInfo

Overview of NDIS packet timestamping

Attaching timestamps to packets