diff options
Diffstat (limited to '')
-rw-r--r-- | nhrpd/os.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nhrpd/os.h b/nhrpd/os.h new file mode 100644 index 0000000..2b9e07f --- /dev/null +++ b/nhrpd/os.h @@ -0,0 +1,7 @@ + +int os_socket(void); +int os_sendmsg(const uint8_t *buf, size_t len, int ifindex, const uint8_t *addr, + size_t addrlen, uint16_t protocol); +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); |