for connected embedded systems
![]() |
![]() |
![]() |
![]() |
devn-fd.so
File descriptor interface driver
Syntax:
io-net -d fd fd=device[,option[,option ...]] ... &
Runs on:
Neutrino
Options:
![]() |
Use commas (,) to separate the options (not spaces). |
- ahdlc
- Read or write packet data in AHDLC frame format.
- fd=device
- The device on which to open the file descriptor to read or write packet data. You must specify this option.
- mac=XXXXXXXXXXXX
- The MAC address of the controller. There is no default.
- mru=num
- Maximum receive unit. The default is 1514.
- mtu=num
- Maximum transmission unit. The default (1514) is automatically detected on supported hardware.
- nomulticast
- Disable multicast support.
- priority=N
- Priority of the driver event-thread. The default is 21.
- promiscuous
- Enable promiscuous mode. The default is off.
- verbose
verbose=num - Be verbose. Specify num for more verbosity (num can be 1-4, the higher the number, the more detailed the output). The default is 0. The output goes to slogger, invoke sloginfo to view.
Description:
The devn-fd.so driver uses file-descriptor based I/O (i.e. open(), read(), write(), and so on) to receive and transmit packets. It provides the Network Manager (io-net) with reliable data transfer over any media supported by a file-descriptor-based server process.
![]() |
The devn-fd.so driver does not support multicast addresses. |
For example, you could use devn-fd.so to connect two machines with a null-modem RS-232 serial cable. By using file-descriptor I/O to the serial devices, devn-fd.so would implicitly use a serial driver and set up a logical network link.
Examples:
Start io-net using the FD driver and the full TCP/IP stack:
io-net -d fd fd=/dev/ser1,mac=0023456789AB,ahdlc -p tcpip ifconfig en0 10.0.184
Files:
- /dev/io-net
- The directory where, by default, drivers and protocol modules add entries. For more information, the documentation for io-net.
Caveats:
You must specify the fd option when using this driver.
See also:
"Network drivers (devn-*)" and "Network protocol interfaces (npm-*)" in the Utilities Summary
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
