diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-06-08 06:04:12 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-06-08 06:04:12 +0000 |
| commit | 42ef2606c38b56c5f14a0a6fc43eddfc4a88b3c5 (patch) | |
| tree | 2511d8b2c221973be3609262d175163c8e01e44c /sys/netinet | |
| parent | 5a41edb419512675b22482055bdba531cb1d7c08 (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/ip_fil.c | 5 | ||||
| -rw-r--r-- | sys/netinet/ip_fil.h | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c index d558844bac57a..d657b7f20f0c3 100644 --- a/sys/netinet/ip_fil.c +++ b/sys/netinet/ip_fil.c @@ -7,7 +7,7 @@ */ #if !defined(lint) static const char sccsid[] = "@(#)ip_fil.c 2.41 6/5/96 (C) 1993-1995 Darren Reed"; -static const char rcsid[] = "@(#)$Id: ip_fil.c,v 1.2 1998/03/21 11:34:02 peter Exp $"; +static const char rcsid[] = "@(#)$Id: ip_fil.c,v 1.3 1998/03/27 18:03:13 peter Exp $"; #endif #include "opt_ipfilter.h" @@ -342,7 +342,8 @@ struct proc *p; ) #endif dev_t dev; -#if defined(__NetBSD__) || defined(__OpenBSD__) || (_BSDI_VERSION >= 199701) +#if defined(__NetBSD__) || defined(__OpenBSD__) || \ + (_BSDI_VERSION >= 199701) || (__FreeBSD_version >= 300003) u_long cmd; #else int cmd; diff --git a/sys/netinet/ip_fil.h b/sys/netinet/ip_fil.h index 44a4cf2834f90..266fb2221c35c 100644 --- a/sys/netinet/ip_fil.h +++ b/sys/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 1.2 1998/03/21 13:37:44 peter Exp $ + * $Id: ip_fil.h,v 1.3 1998/06/07 17:12:15 dfr Exp $ */ #ifndef __IP_FIL_H__ @@ -382,7 +382,8 @@ extern int ipf_log __P((void)); extern void ipfr_fastroute __P((ip_t *, fr_info_t *, frdest_t *)); extern struct ifnet *get_unit __P((char *)); # define FR_SCANLIST(p, ip, fi, m) fr_scanlist(p, ip, fi, m) -# if defined(__NetBSD__) || defined(__OpenBSD__) || (_BSDI_VERSION >= 199701) || (__FreeBSD_version >= 300003) +# if defined(__NetBSD__) || defined(__OpenBSD__) || \ + (_BSDI_VERSION >= 199701) || (__FreeBSD_version >= 300003) extern int iplioctl __P((dev_t, u_long, caddr_t, int)); # else extern int iplioctl __P((dev_t, int, caddr_t, int)); @@ -447,7 +448,8 @@ extern int iplidentify __P((char *)); # endif # if (_BSDI_VERSION >= 199510) || (__FreeBSD_version >= 220000) || \ (NetBSD >= 199511) -# if defined(__NetBSD__) || (_BSDI_VERSION >= 199701) +# if defined(__NetBSD__) || (_BSDI_VERSION >= 199701) || \ + (__FreeBSD_version >= 300003) extern int iplioctl __P((dev_t, u_long, caddr_t, int, struct proc *)); # else extern int iplioctl __P((dev_t, int, caddr_t, int, struct proc *)); |
