Condividi tramite


Funzione NdisSetNblTimestampInfo (ndis/nbltimestamp.h)

I driver Miniport chiamano NdisSetNblTimestampInfo per archiviare un timestamp hardware o software in una struttura NET_BUFFER_LIST (NBL).

Sintassi

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

Parametri

[_Inout_] Nbl

Puntatore a una struttura NET_BUFFER_LIST.

[_In_] NblTimestamp

Puntatore a una struttura di NET_BUFFER_LIST_TIMESTAMP inizializzata.

Valore restituito

Nessuno

Osservazioni

Il driver miniport può archiviare un timestamp software o hardware in una matrice di NetBufferListInfo di NBL. Il driver riempie il campo Timestamp della struttura NET_BUFFER_LIST_TIMESTAMP e chiama NdisSetNblTimestampInfo, passando la struttura.

Per altre informazioni sulla generazione di timestamp hardware e software, vedere Collegamento di timestamp ai pacchetti.

Fabbisogno

Requisito Valore
client minimo supportato Windows 11
server minimo supportato Windows Server 2022. Supportato in NDIS 6.82 e versioni successive.
piattaforma di destinazione Universale
intestazione ndis/nbltimestamp.h (include ndis.h)
libreria ndis.lib

Vedere anche

NET_BUFFER_LIST_TIMESTAMP

NET_BUFFER_LIST

NdisGetNblTimestampInfo

NdisCopyNblTimestampInfo

Panoramica del timestamp dei pacchetti NDIS

Allegare timestamp ai pacchetti