#ifndef LLARP_NET_H #define LLARP_NET_H #if defined(_WIN32) || defined(__MINGW32__) #include #include typedef unsigned short in_port_t; typedef unsigned int in_addr_t; #else #include #include #include #endif #include #include bool llarp_getifaddr(const char* ifname, int af, struct sockaddr* addr); #endif