This commit is contained in:
Luca Deri
2021-10-11 20:59:28 +02:00
parent ca827ae548
commit 960e8ab22a
+8
View File
@@ -350,8 +350,16 @@ static inline u_int64_t get_u_int64_t(const u_int8_t* X, int O)
#if defined(WIN32)
#undef strtok_r
#define strtok_r strtok_s
#if BYTE_ORDER == LITTLE_ENDIAN
#define le16toh(x) (x)
#define le32toh(x) (x)
#else
#error "byte order not supported"
#endif
#endif /* WIN32 */
#define NDPI_MAX_DNS_REQUESTS 16
#define NDPI_MIN_NUM_STUN_DETECTION 8