Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
3/26/2014
This macro returns the TimeToSend member of the out-of-band (OOB) data block associated with a given packet descriptor.
Syntax
ULONGLONG NDIS_GET_PACKET_TIME_TO_SEND(
PNDIS_PACKET _Packet
);
Parameters
- _Packet
Points to a packet descriptor
Return Value
The return value is the time stamp, if any, set by the protocol driver before passing the _Packet in an array to NdisSendPackets or as a parameter to NdisSend.
Remarks
The MiniportSendPackets or MiniportSend function of an underlying NIC driver might use NDIS_GET_PACKET_TIME_TO_SEND to determine when a given packet should be transmitted over the network.
All time stamps set in the NDIS_PACKET_OOB_DATA blocks associated with packets are expressed in system time units as the number of 100-nanosecond intervals since January 1, 1601.
The NDIS_GET_PACKET_TIME_SENT macro is defined as follows.
#define NDIS_GET_PACKET_TIME_SENT(_Packet) \
((PNDIS_PACKET_OOB_DATA)((PUCHAR)(_Packet) + \
(_Packet)->Private.NdisPacketOobOffset))->TimeSent
Requirements
Header |
ndis.h |
See Also
Reference
NDIS 5.x Legacy Network Driver Macros
MiniportSend
MiniportSendPackets
NdisGetCurrentSystemTime
NDIS_OOB_DATA_FROM_PACKET
NDIS_PACKET_OOB_DATA
NDIS_SET_PACKET_TIME_SENT
NdisSend
NdisSendPackets
NDIS 5.x Legacy Reference