Expand description
Backbone TCP mesh interface using Linux epoll.
Server mode: listens on a TCP port, accepts peer connections, spawns dynamic per-peer interfaces. Uses a single epoll thread to multiplex all client sockets. HDLC framing for packet boundaries.
Client mode: connects to a remote backbone server, single TCP connection with HDLC framing. Reconnects on disconnect.
Matches Python BackboneInterface.py.
Structs§
- Backbone
Client Config - Configuration for a backbone client interface.
- Backbone
Config - Configuration for a backbone interface.
Functions§
- start
- Start a backbone interface. Binds TCP listener, spawns epoll thread.
- start_
client - Connect and start the reader thread. Returns the writer for the driver.