os.h 283 B

12345
  1. int os_socket(void);
  2. int os_sendmsg(const uint8_t *buf, size_t len, int ifindex, const uint8_t *addr, size_t addrlen);
  3. int os_recvmsg(uint8_t *buf, size_t *len, int *ifindex, uint8_t *addr, size_t *addrlen);
  4. int os_configure_dmvpn(unsigned int ifindex, const char *ifname, int af);