Real-Time NAL API Functions
This section summarizes the Real Time API (RtNal) function set supported by the RTX64 Network Abstraction Layer (NAL). To support these functions, an application must include the rtnapi.h
and RtNalApi.h
header files and link in the library RtNal.lib
.
Function | Description |
---|---|
Reserves a queue for the application. |
|
Allocates memory for a NAL frame. |
|
Clears a receive Ethernet type filter with the specified index in the NIC driver. |
|
Configures a queue reserved by RtNalAcquireQueue to be able send or receive data. |
|
Stops receive polling and deletes a polling timer created by RtNalEnableReceivePolling. |
|
Enables polling to receive Ethernet frames at a specified interval. The polling timer thread runs in the calling application’s context. |
|
Retrieves information on Network Abstraction Layer (NAL) interfaces. |
|
Frees memory allocated by RtNalAllocateFrame. |
|
Returns the value of the NIC system timer-up counter registers converted to time. |
|
Retrieves the current NAL settings. |
|
Returns the number of queues configured by the NAL for all interfaces. |
|
Provides information about a specific queue configured by the NAL. |
|
Provides information about a specific queue configured by the NAL. |
|
Retrieves a receive Ethernet type filter with the specified index from the NIC driver. |
|
Returns the timestamp of the last received packet. |
|
Retrieves the number of packets in a NIC queue since last call. |
|
Returns the timestamp for the last transmit packet. |
|
Initializes the NAL for use by an application. |
|
Called when an application requires that a driver configure certain NIC modes or characteristics. |
|
Queries whether the NAL frame is owned by the application. |
|
Receives an Ethernet packet and copies packet data to the application data area. |
|
Allows an application to receive an Ethernet packet in a callback called directly by driver. |
|
Releases ownership of a queue back to the NAL so that it is available for other callers. |
|
Forwards a request to the underlying device driver to query the requested capabilities and/or statistics of the RTX64-converted NIC card. |
|
Sets the interrupt moderation (throttling) interval. |
|
Sets a receive filter to the NIC driver to allow the network queue to receive Ethernet frames of the specified Ethernet type. |
|
Sets the type of PTP message to be time-stamped on a packet receive. |
|
Enables the timestamp for the last transmit packet. |
|
Transmits an Ethernet packet. |
|
Transmits an array of NAL frames. |