summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 21:57:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 21:57:09 +0200
commit6cf76ca46dc1620431d536839472709895a60a9a (patch)
tree78e285745a0d8095c15a30d39973731427538535 /src/fastd.h
parentdfac85a4ced46f83738c84b52719ded503e349e7 (diff)
downloadfastd-6cf76ca46dc1620431d536839472709895a60a9a.tar
fastd-6cf76ca46dc1620431d536839472709895a60a9a.zip
Use multi-af tun mode on FreeBSD to make IPv6 work on tun
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 8ecc141..8201c5c 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -340,6 +340,8 @@ 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);
+fastd_buffer_t fastd_tuntap_read(fastd_context_t *ctx);
+void fastd_tuntap_write(fastd_context_t *ctx, fastd_buffer_t buffer);
void fastd_tuntap_close(fastd_context_t *ctx);
void fastd_cap_init(fastd_context_t *ctx);