aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tun.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tun.h')
-rw-r--r--lib/tun.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tun.h b/lib/tun.h
index 07ca04a..397c7f2 100644
--- a/lib/tun.h
+++ b/lib/tun.h
@@ -59,4 +59,8 @@ extern int tun_runscript(struct tun_t *tun, char *script);
int tun_ip_local_get(const struct tun_t *tun, struct in46_prefix *prefix_list,
size_t prefix_size, int flags);
+#if defined(__linux__)
+extern int tun_settoken(struct tun_t *tun, struct in46_addr *addr);
+#endif
+
#endif /* !_TUN_H */