|
RtnTransmitDone notifies the RtxTcpIp Stack that the most recent packet handed to RtndTransmit should be returned to the stack buffer pool for reuse. RtnTransmitDone also triggers RtndTransmit to be called again if another packet exists on the transmit queue for the given device. Normally, RtnTransmitDone is called either at the end of the RtndTransmit routine, after the data in the transmit packet has been copied to a local transmitter buffer, or in the driver Transmit Thread in response to a transmit complete interrupt event. RtnTransmitDone should not be called directly from the driver Interrupt Service Thread or from inside a CriticalLock protecting the NIC hardware. This will cause a deadlock when RtndTransmit uses the same lock when accessing the NIC hardware to transmit the next packet in the transmit queue. See RtndConfigure for more information on RtnTransmitDone and how it should be used.
Syntax
void RtnTransmitDone( void *ndp );
Parameters
ndp
Network Device Pointer. Opaque network device identifier (pointer).
Return Values
None
Requirements
Header | Drvutl.h |
Library | Rtxtcpip.lib |