summaryrefslogtreecommitdiffstats
path: root/nhrpd/os.h
blob: 3f3b0de9123090671e39c4404653578d6f5543b0 (plain)
1
2
3
4
5
6
7
8
// SPDX-License-Identifier: GPL-2.0-or-later

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);