summaryrefslogtreecommitdiffstats
path: root/nhrpd/os.h
blob: 2b9e07fa6ef5655b32939f0881ee45ddcd961f4d (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, 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);