summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 04:56:51 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 05:00:37 +0200
commite3877b11034409b49d7ba42e861bf61fb0c73a06 (patch)
treec1c88e5dd4aba2b50c2387b4997e80d3ac9ee3df /src/fastd.h
parent6662ce280f002881e07d4ac5bc1a8fd5786a304c (diff)
downloadfastd-e3877b11034409b49d7ba42e861bf61fb0c73a06.tar
fastd-e3877b11034409b49d7ba42e861bf61fb0c73a06.zip
Move tun/tap initialization to a dedicated source file
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index b346bf0..8ecc141 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -339,6 +339,9 @@ void fastd_configure(fastd_context_t *ctx, fastd_config_t *conf, int argc, char
void fastd_config_load_peer_dirs(fastd_context_t *ctx, fastd_config_t *conf);
void fastd_config_handle_options(fastd_context_t *ctx, fastd_config_t *conf, int argc, char *const argv[]);
+void fastd_tuntap_open(fastd_context_t *ctx);
+void fastd_tuntap_close(fastd_context_t *ctx);
+
void fastd_cap_init(fastd_context_t *ctx);
void fastd_cap_drop(fastd_context_t *ctx);