ip_fil.h (145562) | ip_fil.h (153084) |
---|---|
1/* $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_fil.h 145562 2005-04-26 17:58:05Z darrenr $ */ 2 | |
3/* 4 * Copyright (C) 1993-2001, 2003 by Darren Reed. 5 * 6 * See the IPFILTER.LICENCE file for details on licencing. 7 * 8 * @(#)ip_fil.h 1.35 6/5/96 | 1/* 2 * Copyright (C) 1993-2001, 2003 by Darren Reed. 3 * 4 * See the IPFILTER.LICENCE file for details on licencing. 5 * 6 * @(#)ip_fil.h 1.35 6/5/96 |
9 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_fil.h 145562 2005-04-26 17:58:05Z darrenr $ | 7 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_fil.h 153084 2005-12-04 10:06:06Z ru $ |
10 * Id: ip_fil.h,v 2.170.2.18 2005/03/28 10:47:52 darrenr Exp 11 */ 12 13#ifndef __IP_FIL_H__ 14#define __IP_FIL_H__ 15 16#include "netinet/ip_compat.h" 17 --- 1085 unchanged lines hidden (view full) --- 1103/* 1104 * Post NetBSD 1.2 has the PFIL interface for packet filters. This turns 1105 * on those hooks. We don't need any special mods in non-IP Filter code 1106 * with this! 1107 */ 1108#if (defined(NetBSD) && (NetBSD > 199609) && (NetBSD <= 1991011)) || \ 1109 (defined(NetBSD1_2) && NetBSD1_2 > 1) || \ 1110 (defined(__FreeBSD__) && (__FreeBSD_version >= 500043)) | 8 * Id: ip_fil.h,v 2.170.2.18 2005/03/28 10:47:52 darrenr Exp 9 */ 10 11#ifndef __IP_FIL_H__ 12#define __IP_FIL_H__ 13 14#include "netinet/ip_compat.h" 15 --- 1085 unchanged lines hidden (view full) --- 1101/* 1102 * Post NetBSD 1.2 has the PFIL interface for packet filters. This turns 1103 * on those hooks. We don't need any special mods in non-IP Filter code 1104 * with this! 1105 */ 1106#if (defined(NetBSD) && (NetBSD > 199609) && (NetBSD <= 1991011)) || \ 1107 (defined(NetBSD1_2) && NetBSD1_2 > 1) || \ 1108 (defined(__FreeBSD__) && (__FreeBSD_version >= 500043)) |
1111# if (NetBSD >= 199905) | 1109# if defined(NetBSD) && (NetBSD >= 199905) |
1112# define PFIL_HOOKS 1113# endif 1114# ifdef PFIL_HOOKS 1115# define NETBSD_PF 1116# endif 1117#endif 1118 1119#ifndef _KERNEL --- 55 unchanged lines hidden (view full) --- 1175extern int ipfsync __P((void)); 1176extern int ipfilter_sgi_attach __P((void)); 1177extern void ipfilter_sgi_detach __P((void)); 1178extern void ipfilter_sgi_intfsync __P((void)); 1179# else 1180# ifdef IPFILTER_LKM 1181extern int iplidentify __P((char *)); 1182# endif | 1110# define PFIL_HOOKS 1111# endif 1112# ifdef PFIL_HOOKS 1113# define NETBSD_PF 1114# endif 1115#endif 1116 1117#ifndef _KERNEL --- 55 unchanged lines hidden (view full) --- 1173extern int ipfsync __P((void)); 1174extern int ipfilter_sgi_attach __P((void)); 1175extern void ipfilter_sgi_detach __P((void)); 1176extern void ipfilter_sgi_intfsync __P((void)); 1177# else 1178# ifdef IPFILTER_LKM 1179extern int iplidentify __P((char *)); 1180# endif |
1183# if (_BSDI_VERSION >= 199510) || (__FreeBSD_version >= 220000) || \ | 1181# if (defined(_BSDI_VERSION) && _BSDI_VERSION >= 199510) || \ 1182 (__FreeBSD_version >= 220000) || \ |
1184 (NetBSD >= 199511) || defined(__OpenBSD__) | 1183 (NetBSD >= 199511) || defined(__OpenBSD__) |
1185# if defined(__NetBSD__) || (_BSDI_VERSION >= 199701) || \ | 1184# if defined(__NetBSD__) || \ 1185 (defined(_BSDI_VERSION) && _BSDI_VERSION >= 199701) || \ |
1186 defined(__OpenBSD__) || (__FreeBSD_version >= 300000) 1187# if (__FreeBSD_version >= 500024) 1188# if (__FreeBSD_version >= 502116) 1189extern int iplioctl __P((struct cdev*, u_long, caddr_t, int, struct thread *)); 1190# else 1191extern int iplioctl __P((dev_t, u_long, caddr_t, int, struct thread *)); 1192# endif /* __FreeBSD_version >= 502116 */ 1193# else --- 178 unchanged lines hidden --- | 1186 defined(__OpenBSD__) || (__FreeBSD_version >= 300000) 1187# if (__FreeBSD_version >= 500024) 1188# if (__FreeBSD_version >= 502116) 1189extern int iplioctl __P((struct cdev*, u_long, caddr_t, int, struct thread *)); 1190# else 1191extern int iplioctl __P((dev_t, u_long, caddr_t, int, struct thread *)); 1192# endif /* __FreeBSD_version >= 502116 */ 1193# else --- 178 unchanged lines hidden --- |