summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorhans <hans@NetBSD.org>2008-10-16 18:56:56 +0000
committerhans <hans@NetBSD.org>2008-10-16 18:56:56 +0000
commitb0d4e5c1a749d33dbe5c42513ac8beebd98bca54 (patch)
tree357b24975ee757289aa5eed782dccb982c945103 /sys
parent27724c38ae5a9fff312e163622f9e70a937f2b90 (diff)
include bpf headers so that the bpf calls actually do something. ok by cube.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_etherip.c8
-rw-r--r--sys/netinet6/ip6_etherip.c8
2 files changed, 12 insertions, 4 deletions
diff --git a/sys/netinet/ip_etherip.c b/sys/netinet/ip_etherip.c
index 7587b944bc9..56ccd31aded 100644
--- a/sys/netinet/ip_etherip.c
+++ b/sys/netinet/ip_etherip.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_etherip.c,v 1.9 2008/04/12 05:58:22 thorpej Exp $ */
+/* $NetBSD: ip_etherip.c,v 1.10 2008/10/16 18:56:56 hans Exp $ */
/*
* Copyright (c) 2006, Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
@@ -58,9 +58,10 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_etherip.c,v 1.9 2008/04/12 05:58:22 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_etherip.c,v 1.10 2008/10/16 18:56:56 hans Exp $");
#include "opt_inet.h"
+#include "bpfilter.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -87,6 +88,9 @@ __KERNEL_RCSID(0, "$NetBSD: ip_etherip.c,v 1.9 2008/04/12 05:58:22 thorpej Exp $
#include <net/if_ether.h>
#include <net/if_media.h>
#include <net/if_etherip.h>
+#if NBPFILTER > 0
+#include <net/bpf.h>
+#endif
#include <machine/stdarg.h>
diff --git a/sys/netinet6/ip6_etherip.c b/sys/netinet6/ip6_etherip.c
index c8302af29db..e3508c81bf1 100644
--- a/sys/netinet6/ip6_etherip.c
+++ b/sys/netinet6/ip6_etherip.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_etherip.c,v 1.9 2008/04/15 03:57:04 thorpej Exp $ */
+/* $NetBSD: ip6_etherip.c,v 1.10 2008/10/16 18:56:56 hans Exp $ */
/*
* Copyright (c) 2006, Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
@@ -58,9 +58,10 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_etherip.c,v 1.9 2008/04/15 03:57:04 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_etherip.c,v 1.10 2008/10/16 18:56:56 hans Exp $");
#include "opt_inet.h"
+#include "bpfilter.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -93,6 +94,9 @@ __KERNEL_RCSID(0, "$NetBSD: ip6_etherip.c,v 1.9 2008/04/15 03:57:04 thorpej Exp
#include <net/if_ether.h>
#include <net/if_media.h>
#include <net/if_etherip.h>
+#if NBPFILTER > 0
+#include <net/bpf.h>
+#endif
#include <machine/stdarg.h>