aboutsummaryrefslogtreecommitdiffstats
path: root/bpf
diff options
context:
space:
mode:
authorrisso <risso>2002-08-01 08:33:01 +0000
committerrisso <risso>2002-08-01 08:33:01 +0000
commit6831542ec753e8d13d7de2f383aebcc2df8b5a98 (patch)
tree345b85f08385176a2aa369571ae6c209b55eef32 /bpf
parent3d856fe86501030f034ae6db80bf0072b439e097 (diff)
Added support for Win32, based on WinPcap.
Diffstat (limited to 'bpf')
-rw-r--r--bpf/net/bpf_filter.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/bpf/net/bpf_filter.c b/bpf/net/bpf_filter.c
index 8f1ebc2..d0bc68c 100644
--- a/bpf/net/bpf_filter.c
+++ b/bpf/net/bpf_filter.c
@@ -40,12 +40,10 @@
#if !(defined(lint) || defined(KERNEL) || defined(_KERNEL))
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/bpf/net/bpf_filter.c,v 1.36 2002-06-11 17:04:48 itojun Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/bpf/net/bpf_filter.c,v 1.37 2002-08-01 08:33:12 risso Exp $ (LBL)";
#endif
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/time.h>
+#include <pcap-stdinc.h>
#define SOLARIS (defined(sun) && (defined(__SVR4) || defined(__svr4__)))
#if defined(__hpux) || SOLARIS
@@ -76,7 +74,6 @@ static const char rcsid[] =
#endif
#ifndef LBL_ALIGN
-#include <netinet/in.h>
#define EXTRACT_SHORT(p) ((u_short)ntohs(*(u_short *)p))
#define EXTRACT_LONG(p) (ntohl(*(u_int32 *)p))