aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2018-04-30 01:08:37 -0700
committerJake McGinty <me@jake.su>2018-04-30 01:08:37 -0700
commit14952477345591163da987bd922ff2c4d4a3a601 (patch)
treebdf07ff541c0ff09e21aeaae9aecbf604a9419d6 /src/lib.rs
parentconsts: fix typo in MAX_PEERS_PER_DEVICE (diff)
downloadwireguard-rs-jm/netlink-listener.tar.xz
wireguard-rs-jm/netlink-listener.zip
initial commit on netlink listener. not working.jm/netlink-listener
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5302f19..e80b6ab 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -38,6 +38,9 @@ extern crate tokio_signal;
extern crate treebitmap;
extern crate x25519_dalek;
+#[cfg(any(target_os = "android", target_os = "linux"))]
+extern crate pnetlink;
+
pub mod interface;
pub mod peer;
pub mod noise;
@@ -50,6 +53,7 @@ mod cookie;
mod error;
mod ip_packet;
mod message;
+mod route_monitor;
mod router;
mod timer;
mod udp;