include bpf headers so that the bpf calls actually do something. ok by cube.

This commit is contained in:
hans 2008-10-16 18:56:56 +00:00
parent 27724c38ae
commit b0d4e5c1a7
2 changed files with 12 additions and 4 deletions

View File

@ -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>

View File

@ -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>