RtnNotifyRecvQueue

RtnNotifyRecvQueue is used to notify the NAL that data has been received.

Syntax

VOID RtnNotifyRecvQueue(
    PVOID ndptr,
    ULONG recvCount,
    ULONG queueNumber
);

Parameters

ndp

A network device pointer.

recvCount

The number of packets received since the function was last called.

queueNumber

The number of the receive queue to notify.

Return Value

None.

Remarks

It’s acceptable to notify for more packets than were received.

The driver should notify the NAL if the driver queue was attached to the application in RtndAttachToReceiveQueue and if the notifications were enabled in RtndIoctl with the RTNAL_IOCTL_USE_RX_NOTIFICATIONS control code.

The driver should discard packets if the driver queue is not attached to the application.

Requirements

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

See Also:

Receiving Packets by the NIC Driver

RtndConfigure

RtndAttachToReceiveQueue

RtndIoctl

DrvISR

Porting a TCP/IP Driver to the NAL

Real-Time Network Functions