NDIS_SET_PACKET_TIME_TO_SEND

NDIS_SET_PACKET_TIME_TO_SEND(
IN PNDIS_PACKET Packet,
IN ULONGLONG TimeToSend
);

NDIS_SET_PACKET_TIME_TO_SEND sets the TimeToSend value in the out-of-band data block associated with a given packet descriptor.

Parameters

Packet

Points to a packet descriptor allocated by the caller for a send.

TimeToSend

Specifies the system time at which the packet should be transmitted over the network.

Comments

Protocols can use NDIS_SET_PACKET_TIME_TO_SEND to set this timestamp in the out-of-band data block associated with a driver-allocated packet descriptor to be passed in a subsequent call to NdisSendPackets or NdisSend.

All timestamps set in the NDIS_PACKET_OOB_DATA blocks associated with packet descriptors are expressed in system time units as the number of 100-nanosecond intervals since January 1, 160l.

A protocol can call NdisGetCurrentSystemTime and add some number of system time units to the returned value in order to supply the TimeToSend argument to NDIS_SET_PACKET_TIME_TO_SEND, unless the client that initiated the send request has already supplied such a timestamp.

Callers of NDIS_SET_PACKET_TIME_TO_SEND run at IRQL <= DISPATCH_LEVEL.

See Also

MiniportSend, MiniportSendPackets, NdisGetCurrentSystemTime, NDIS_GET_PACKET_TIME_SENT, NDIS_GET_PACKET_TIME_TO_SEND, NDIS_OOB_DATA_FROM_PACKET, NDIS_PACKET_OOB_DATA, NdisSend, NdisSendPackets, ProtocolSendComplete