Expand description
Network interface abstractions.
Re-exports§
pub use crate::common::interface_stats::InterfaceStats;pub use crate::common::interface_stats::ANNOUNCE_SAMPLE_MAX;
Modules§
- auto
- AutoInterface: Zero-configuration LAN auto-discovery via IPv6 multicast.
- backbone
- Backbone TCP mesh interface using Linux epoll.
- i2p
- I2P interface using the SAM v3.1 protocol.
- kiss_
iface - KISS interface with flow control and TNC configuration.
- local
- Local shared instance interface.
- pipe
- Pipe interface: subprocess stdin/stdout with HDLC framing.
- registry
- Interface factory registry.
- rnode
- RNode LoRa radio interface.
- serial_
iface - Serial interface with HDLC framing.
- tcp
- TCP client interface with HDLC framing.
- tcp_
server - TCP server interface with HDLC framing.
- udp
- UDP broadcast interface.
Structs§
- Interface
Entry - Everything the driver tracks per interface.
- Start
Context - Context passed to
InterfaceFactory::start(). - SubInterface
- A single subinterface returned from a multi-interface factory.
Enums§
- Start
Result - Result of starting an interface via a factory.
Traits§
- Interface
Config Data - Opaque interface config data. Each factory downcasts to its concrete type.
- Interface
Factory - Factory that can parse config and start an interface type.
- Writer
- Writable end of an interface. Held by the driver.
Functions§
- bind_
to_ device - Bind a socket to a specific network interface using
SO_BINDTODEVICE.