for connected embedded systems
![]() |
![]() |
![]() |
![]() |
devn-fd.so
File descriptor interface driver
Syntax:
io-pkt-variant -d fd fd=device[,option[,option ...]] ... &
where variant is one of v4, v4-hc, or v6-hc.
Runs on:
Neutrino
Options:
![]() |
Use commas, not spaces, to separate the options. |
- 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-pkt*) 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.
This is a legacy io-net driver; its interface names are in the form enX, where X is an integer.
Examples:
Start io-pkt-v4-hc using the FD driver:
io-pkt-v4-hc -d fd fd=/dev/ser1,mac=0023456789AB,ahdlc ifconfig en0 10.0.184
Files:
- /dev/io-pkt
- The directory where, by default, drivers and protocol modules add entries. For more information, see the documentation for io-pkt*.
Caveats:
You must specify the fd option when using this driver.
See also:
devn-*, devnp-*, ifconfig, io-pkt*
![]() |
![]() |
![]() |
![]() |

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