NL2 API Overview
The Network Link Layer (NL2) APIs provides data types and functions to access network services at the Layer 2 of the OSI model, independent of the underlying hardware. This typically includes:
- Transmit and receive raw Ethernet packets
- Configure and get the link status
- Configure hardware timestamping
- Configure hardware filters
- Configure QoS
Using the NL2, you can easily integrate network functionality such as TCP/IP and E-CAT
Note:
The NL2 component must be running for any application to use the NL2. Include the header Rtnl2Component.h in your project and link with the library Rtfwnl2Api.lib (Windows) or Rtnl2Api.lib (RTSS). To check if the NL2 component is already running, use Rtnl2GetComponentStatus. To start the component, use Rtnl2StartComponent. To stop the component, use Rtnl2StopComponent.
See Also: