ip_fil.h (110916) | ip_fil.h (130585) |
---|---|
1/* 2 * Copyright (C) 1993-2002 by Darren Reed. 3 * 4 * See the IPFILTER.LICENCE file for details on licencing. 5 * 6 * @(#)ip_fil.h 1.35 6/5/96 7 * $Id: ip_fil.h,v 2.29.2.4 2000/11/12 11:54:53 darrenr Exp $ | 1/* 2 * Copyright (C) 1993-2002 by Darren Reed. 3 * 4 * See the IPFILTER.LICENCE file for details on licencing. 5 * 6 * @(#)ip_fil.h 1.35 6/5/96 7 * $Id: ip_fil.h,v 2.29.2.4 2000/11/12 11:54:53 darrenr Exp $ |
8 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_fil.h 110916 2003-02-15 06:25:25Z darrenr $ | 8 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_fil.h 130585 2004-06-16 09:47:26Z phk $ |
9 */ 10 11#ifndef __IP_FIL_H__ 12#define __IP_FIL_H__ 13 14/* 15 * Pathnames for various IP Filter control devices. Used by LKM 16 * and userland, so defined here. --- 552 unchanged lines hidden (view full) --- 569# else 570# ifdef IPFILTER_LKM 571extern int iplidentify __P((char *)); 572# endif 573# if (_BSDI_VERSION >= 199510) || (__FreeBSD_version >= 220000) || \ 574 (NetBSD >= 199511) || defined(__OpenBSD__) 575# if defined(__NetBSD__) || (_BSDI_VERSION >= 199701) || \ 576 defined(__OpenBSD__) || (__FreeBSD_version >= 300000) | 9 */ 10 11#ifndef __IP_FIL_H__ 12#define __IP_FIL_H__ 13 14/* 15 * Pathnames for various IP Filter control devices. Used by LKM 16 * and userland, so defined here. --- 552 unchanged lines hidden (view full) --- 569# else 570# ifdef IPFILTER_LKM 571extern int iplidentify __P((char *)); 572# endif 573# if (_BSDI_VERSION >= 199510) || (__FreeBSD_version >= 220000) || \ 574 (NetBSD >= 199511) || defined(__OpenBSD__) 575# if defined(__NetBSD__) || (_BSDI_VERSION >= 199701) || \ 576 defined(__OpenBSD__) || (__FreeBSD_version >= 300000) |
577extern int iplioctl __P((dev_t, u_long, caddr_t, int, struct thread *)); | 577extern int iplioctl __P((struct cdev *, u_long, caddr_t, int, struct thread *)); |
578# else 579extern int iplioctl __P((dev_t, int, caddr_t, int, struct thread *)); 580# endif | 578# else 579extern int iplioctl __P((dev_t, int, caddr_t, int, struct thread *)); 580# endif |
581extern int iplopen __P((dev_t, int, int, struct thread *)); 582extern int iplclose __P((dev_t, int, int, struct thread *)); | 581extern int iplopen __P((struct cdev *, int, int, struct thread *)); 582extern int iplclose __P((struct cdev *, int, int, struct thread *)); |
583# else 584# ifndef linux 585extern int iplopen __P((dev_t, int)); 586extern int iplclose __P((dev_t, int)); 587extern int iplioctl __P((dev_t, int, caddr_t, int)); 588# else 589extern int iplioctl(struct inode *, struct file *, u_int, u_long); 590extern int iplopen __P((struct inode *, struct file *)); 591extern void iplclose __P((struct inode *, struct file *)); 592# endif /* !linux */ 593# endif /* (_BSDI_VERSION >= 199510) */ 594# if BSD >= 199306 | 583# else 584# ifndef linux 585extern int iplopen __P((dev_t, int)); 586extern int iplclose __P((dev_t, int)); 587extern int iplioctl __P((dev_t, int, caddr_t, int)); 588# else 589extern int iplioctl(struct inode *, struct file *, u_int, u_long); 590extern int iplopen __P((struct inode *, struct file *)); 591extern void iplclose __P((struct inode *, struct file *)); 592# endif /* !linux */ 593# endif /* (_BSDI_VERSION >= 199510) */ 594# if BSD >= 199306 |
595extern int iplread __P((dev_t, struct uio *, int)); | 595extern int iplread __P((struct cdev *, struct uio *, int)); |
596# else 597# ifndef linux 598extern int iplread __P((dev_t, struct uio *)); 599# else 600extern int iplread(struct inode *, struct file *, char *, int); 601# endif /* !linux */ 602# endif /* BSD >= 199306 */ 603# endif /* __ sgi */ --- 58 unchanged lines hidden --- | 596# else 597# ifndef linux 598extern int iplread __P((dev_t, struct uio *)); 599# else 600extern int iplread(struct inode *, struct file *, char *, int); 601# endif /* !linux */ 602# endif /* BSD >= 199306 */ 603# endif /* __ sgi */ --- 58 unchanged lines hidden --- |