summaryrefslogtreecommitdiffstats
path: root/nhrpd/os.h
blob: dd65d3cbe104e8746bfc88e97846a32cbca368c8 (plain)
1
2
3
4
5
6
7
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);