NIC Driver Real-Time Network Device (RTND) API Reference

RTND functions are those functions that an RtxTcpIp NIC driver (RTDLL) must export in order to function with the RtxTcpIp Protocol Stack.

The process context, listed with each function is important. Any RTX handles created in RtndConfigure can only be used if the indicated function is always running in the process context of the stack itself. So, SetEvent could be used from the DrvISR function but NOT from the RtndTransmit function, since the RtndTransmit function may be called from the context of an attached process.

The RTND functions are summarized in the table below. Click a function's link to view detailed information about the function.

IMPORTANT!  Any RTX handles created in RtndConfigure can only be used if the indicated function is always running in the process context of the stack itself.

Function

Description

Process Context

RtndConfigure

Called for each instance of the driver when the driver should configure the NIC hardware. This function should set up receive buffers/transmit buffers, card modes, events, etc.

STACK

RtndInitialize

Called by the stack when an instance of a driver is being first brought online. This is the first routine in a driver that is called by the stack.

STACK

RtndIoctl

Called when the stack requires that the driver configure certain NIC modes or characteristics.

STACK

RtndRequest

Called by the stack to query device statistics.

STACK

RtndTransmit

Called when the stack requires that the driver transmit a packet (pointed to by the parameter mp).

STACK

RtndUpDown

Called when the stack requires that the driver start (or stop) a particular NIC card.

STACK

 

See Also

IntervalZero.com | Support | Give Feedback