Skip to main content

Module interface

Module interface 

Source
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§

InterfaceEntry
Everything the driver tracks per interface.
StartContext
Context passed to InterfaceFactory::start().
SubInterface
A single subinterface returned from a multi-interface factory.

Enums§

StartResult
Result of starting an interface via a factory.

Traits§

InterfaceConfigData
Opaque interface config data. Each factory downcasts to its concrete type.
InterfaceFactory
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.