aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/mod.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2020-02-16 18:12:43 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2020-02-16 18:12:43 +0100
commit106c5e8b5c865c8396f824f4f5aa14d1bf0952b1 (patch)
tree68101553c62d301921b84776a9e18fc627c7a731 /src/wireguard/router/mod.rs
parentWork on reducing context switches (diff)
downloadwireguard-rs-router.tar.xz
wireguard-rs-router.zip
Work on router optimizationsrouter
Diffstat (limited to 'src/wireguard/router/mod.rs')
-rw-r--r--src/wireguard/router/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wireguard/router/mod.rs b/src/wireguard/router/mod.rs
index ec5cc63..699c621 100644
--- a/src/wireguard/router/mod.rs
+++ b/src/wireguard/router/mod.rs
@@ -1,14 +1,10 @@
mod anti_replay;
mod constants;
mod device;
-mod inbound;
mod ip;
mod messages;
-mod outbound;
mod peer;
-mod pool;
mod route;
-mod runq;
mod types;
mod queue;
@@ -25,7 +21,6 @@ use std::mem;
use super::constants::REJECT_AFTER_MESSAGES;
use super::queue::ParallelQueue;
use super::types::*;
-use super::{tun, udp, Endpoint};
pub const SIZE_TAG: usize = 16;
pub const SIZE_MESSAGE_PREFIX: usize = mem::size_of::<TransportHeader>();