Work on Linux platform code

This commit is contained in:
Mathias Hall-Andersen
2019-10-13 22:26:12 +02:00
parent 6000cbf7e4
commit a08fd4002b
36 changed files with 293 additions and 52 deletions

View File

@@ -7,14 +7,11 @@ extern crate jemallocator;
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
// mod config;
mod constants;
mod handshake;
mod router;
mod timers;
mod types;
mod platform;
mod wireguard;
#[cfg(test)]
mod tests;
use platform::TunBind;
fn main() {}
fn main() {
let (readers, writers, mtu) = platform::PlatformTun::create("test").unwrap();
}