summaryrefslogtreecommitdiffstats
path: root/sys/contrib/ipfilter
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-03-21 13:37:44 +0000
committerpeter <peter@FreeBSD.org>1998-03-21 13:37:44 +0000
commit6858636bc235b937b1f38d9752110a0809822545 (patch)
tree19f6031b62a2757ebe857a36fbde37a1b3c7bb80 /sys/contrib/ipfilter
parente4c65b8a7fc8cb3176920d5808c9099c69367508 (diff)
downloadFreeBSD-src-6858636bc235b937b1f38d9752110a0809822545.zip
FreeBSD-src-6858636bc235b937b1f38d9752110a0809822545.tar.gz
Some patchups for when this code is compiled in userland (!).
Diffstat (limited to 'sys/contrib/ipfilter')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_auth.c5
-rw-r--r--sys/contrib/ipfilter/netinet/ip_fil.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_auth.c b/sys/contrib/ipfilter/netinet/ip_auth.c
index 3a85af3..40ffc88 100644
--- a/sys/contrib/ipfilter/netinet/ip_auth.c
+++ b/sys/contrib/ipfilter/netinet/ip_auth.c
@@ -6,7 +6,7 @@
* to the original author and the contributors.
*/
#if !defined(lint)
-static const char rcsid[] = "@(#)$Id: ip_auth.c,v 1.1.1.1 1997/11/16 05:55:52 peter Exp $";
+static const char rcsid[] = "@(#)$Id: ip_auth.c,v 1.2 1998/03/21 11:33:59 peter Exp $";
#endif
#if defined(KERNEL) && !defined(_KERNEL)
@@ -58,6 +58,9 @@ static const char rcsid[] = "@(#)$Id: ip_auth.c,v 1.1.1.1 1997/11/16 05:55:52 pe
#ifdef sun
#include <net/af.h>
#endif
+#if !defined(KERNEL) && (__FreeBSD_version >= 300000)
+# include <net/if_var.h>
+#endif
#include <net/route.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
diff --git a/sys/contrib/ipfilter/netinet/ip_fil.h b/sys/contrib/ipfilter/netinet/ip_fil.h
index 2e2aaa7..ecc5c3b 100644
--- a/sys/contrib/ipfilter/netinet/ip_fil.h
+++ b/sys/contrib/ipfilter/netinet/ip_fil.h
@@ -6,7 +6,7 @@
* to the original author and the contributors.
*
* @(#)ip_fil.h 1.35 6/5/96
- * $Id: ip_fil.h,v 2.0.2.39.2.10 1997/12/03 10:02:30 darrenr Exp $
+ * $Id: ip_fil.h,v 1.1.1.5 1998/03/21 10:11:12 peter Exp $
*/
#ifndef __IP_FIL_H__
@@ -373,6 +373,7 @@ typedef struct ipflog {
#endif
#ifndef _KERNEL
+struct ifnet;
extern int fr_check __P((ip_t *, int, void *, int, mb_t **));
extern int (*fr_checkp) __P((ip_t *, int, void *, int, mb_t **));
extern int send_reset __P((ip_t *, struct ifnet *));
OpenPOWER on IntegriCloud