5 # include <netinet/in.h>
6 # include <arpa/inet.h>
9 # include <netinet/in.h>
10 # include <arpa/inet.h>
13 # include <ws2tcpip.h>
15 #if defined(__FreeBSD__)
16 # include <sys/socket.h>
17 # include <netinet/in.h>
18 # include <arpa/inet.h>
27 #if defined(_WIN32) && !defined(_MSC_VER) && (!defined(__MINGW64_VERSION_MAJOR) || (__MINGW64_VERSION_MAJOR < 8))
36 const char*
inet_ntop(
int af,
const void* src,
char* dst,
size_t size);
98 void sockaddr2string(sockaddr
const* sa,
char* resultString,
size_t resultBufLen);
const char * inet_ntop(int af, const void *src, char *dst, size_t size)
in_addr * sockaddr2in_addr(sockaddr *sa)
void sockaddr2string(sockaddr const *sa, char *resultString, size_t resultBufLen)
in_addr * try_sockaddr2in_addr(sockaddr *sa)
in6_addr * try_sockaddr2in6_addr(sockaddr *sa)
int inet_pton(int af, const char *src, void *dst)
in6_addr * sockaddr2in6_addr(sockaddr *sa)
uint32_t in_addr2int(in_addr inAddr)
The main namespace for the PcapPlusPlus lib.