Expand description
Driver implementations for the host OS.
These are Driver implementations for Linux and other
unix-like hosts, for running the stack on a PC:
- TunTapDriver, a virtual TUN/TAP interface;
- RawSocketDriver, a packet socket bound to an existing interface (Ethernet or IEEE 802.15.4).
Both need the std feature.
Structs§
- RawSocket
Driver - A driver over a packet socket bound to a host interface, sending and receiving whole frames.
- TunTap
Driver - A driver for a virtual TUN (IP) or TAP (Ethernet) interface.
Functions§
- wait
- Wait until given file descriptor becomes readable, but no longer than given timeout.