diff options
author | Campus <campus@ntop.org> | 2015-11-12 12:08:41 +0100 |
---|---|---|
committer | Campus <campus@ntop.org> | 2015-11-12 12:08:41 +0100 |
commit | a4f170604ce97b12718181fd43f506edbdb0b0d5 (patch) | |
tree | e61b9887adde422ff8b7f5fd37b01eb8993c618a /src/lib/third_party/include | |
parent | 349e0b6fd22f50426e37362a92683d0478352882 (diff) |
removed kernel support and #if 0s
Diffstat (limited to 'src/lib/third_party/include')
-rw-r--r-- | src/lib/third_party/include/ndpi_patricia.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/third_party/include/ndpi_patricia.h b/src/lib/third_party/include/ndpi_patricia.h index 651e52fc9..3053cf9e1 100644 --- a/src/lib/third_party/include/ndpi_patricia.h +++ b/src/lib/third_party/include/ndpi_patricia.h @@ -51,18 +51,13 @@ /* { from defs.h */ #define prefix_touchar(prefix) ((u_char *)&(prefix)->add.sin) -#ifdef __KERNEL__ -#define MAXLINE 512 -#else #define MAXLINE 1024 -#endif #define BIT_TEST(f, b) ((f) & (b)) /* } */ #define addroute make_and_lookup -#ifndef __KERNEL__ #include <sys/types.h> /* for u_* definitions (on FreeBSD 5) */ #include <errno.h> /* for EAFNOSUPPORT */ @@ -81,8 +76,6 @@ #include <ws2tcpip.h> /* IPv6 */ #endif -#endif /* __KERNEL__ */ - /* { from mrt.h */ typedef struct the_prefix4_t { |