blob: 4d34b39f86c73a12f599467681dd8a4d2f1d7e1b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#![feature(test)]
#![allow(dead_code)]
extern crate jemallocator;
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
mod configuration;
mod platform;
mod wireguard;
use platform::tun;
use configuration::WireguardConfig;
fn main() {
/*
let (mut readers, writer, mtu) = platform::TunInstance::create("test").unwrap();
let wg = wireguard::Wireguard::new(readers, writer, mtu);
*/
}
/*
fn test_wg_configuration() {
let (mut readers, writer, mtu) = platform::dummy::
let wg = wireguard::Wireguard::new(readers, writer, mtu);
}
*/
|