Crate libwgslirpy
source ·Expand description
Library part of wgslirpy - Tokio-, smoltcp- and boringtun-based user-space router. See main (i.e. CLI tool) documentation for what is it.
Re-exports
pub extern crate boringtun;pub extern crate bytes;pub extern crate smoltcp;pub extern crate tokio;pub use wg::parsebase64_32;
Modules
- Helper module to create
smoltcpdevices that use single slot for received packet and a tokio::mpsc channel to transmit packets. - Routing and smoltcp-facing part of the library.
- Simplified interface to
boringtunbased on Tokio’s mpsc channels.
Functions
- Start the application using given Wireguard and routing options.