summaryrefslogtreecommitdiffstats
path: root/nhrpd/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'nhrpd/os.h')
-rw-r--r--nhrpd/os.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nhrpd/os.h b/nhrpd/os.h
new file mode 100644
index 00000000..0fbe8b00
--- /dev/null
+++ b/nhrpd/os.h
@@ -0,0 +1,5 @@
+
+int os_socket(void);
+int os_sendmsg(const uint8_t *buf, size_t len, int ifindex, const uint8_t *addr, size_t addrlen);
+int os_recvmsg(uint8_t *buf, size_t *len, int *ifindex, uint8_t *addr, size_t *addrlen);
+int os_configure_dmvpn(unsigned int ifindex, const char *ifname, int af);