RtndServiceTransmitQueue

RtndServiceTransmitQueue is called by the NAL in a context of the NAL client application to service all transmitted packets for a single driver transmit queue.

Syntax

int RtndServiceTransmitQueue (
    void *ndp
);

Parameters

ndp

Network Device Pointer. Opaque network device identifier.

Return Value

A return value of 0 indicates Success, -1 indicates Failure. The possible error codes are:

Error Code Meaning
ERROR_BAD_ARGUMENTS ndp is NULL pointer, or an interface index or a queue number are invalid.

Remarks

The driver must let the adapter know of all transmitted packet for this queue.

The driver must be able to tell whether the packet was transmitted out of the driver buffer, or is a NAL frame, transmitted by RtndTransmitEx.

For each NAL frame the driver must call RtnTransmitCompleteCallback. If the adapter has recorded the valid timestamp with the packet, the driver must provide the timestamp to the application in RTNAL_FRAME in a callback.

The driver should call RtnGetDataLong with offset 0 to get the driver interface index and RtnGetDataLong with offset 1 to get the transmit queue number.

Requirements

Minimum Supported Version RTX64 4.0
Header RtNalApi.h
Library RTX64Nal.lib

See also:

Transmitting Packets by the NIC Driver

RtndTransmitEx

RtnTransmitCompleteCallback

RTNAL_FRAME

RtnGetDataLong

RtndAttachToTransmitQueue

RtndServiceTransmitQueue