NDIS_GET_PACKET_TIME_TO_SEND

ULONGLONG
    NDIS_GET_PACKET_TIME_TO_SEND(
        IN PNDIS_PACKET  Packet
        );

NDIS_GET_PACKET_TIME_TO_SEND returns the TimeToSend value from the out-of-band data block associated with a given packet descriptor.

Parameters

Packet
Points to a packet descriptor.

Return Value

NDIS_GET_PACKET_TIME_TO_SEND returns the timestamp, if any, set by the protocol driver before passing the Packet in an array to NdisSendPackets or as a parameter to NdisSend.

Comments

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 timestamps 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.

Callers of NDIS_GET_PACKET_TIME_TO_SEND run at IRQL <= DISPATCH_LEVEL.

See Also

MiniportSend, MiniportSendPackets, NdisGetCurrentSystemTime, NDIS_OOB_DATA_FROM_PACKET, NDIS_PACKET_OOB_DATA, NdisSend, NdisSendPackets, NDIS_SET_PACKET_TIME_TO_SEND, ProtocolSendComplete