summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/ipf.h
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>1997-04-03 10:22:02 +0000
committerdarrenr <darrenr@FreeBSD.org>1997-04-03 10:22:02 +0000
commitd25503500842fdd0550710a7afb953d1b8f20f00 (patch)
treef687cfed6c59d74a7c81b967eb3caf8a9c5f184e /contrib/ipfilter/ipf.h
parent2d94e888ee6d73e6d599e49598a12d8da9f74f69 (diff)
downloadFreeBSD-src-d25503500842fdd0550710a7afb953d1b8f20f00.zip
FreeBSD-src-d25503500842fdd0550710a7afb953d1b8f20f00.tar.gz
Import IP Filter version 3.2alpha4 to bring in working LKM for 2.2
Diffstat (limited to 'contrib/ipfilter/ipf.h')
-rw-r--r--contrib/ipfilter/ipf.h26
1 files changed, 20 insertions, 6 deletions
diff --git a/contrib/ipfilter/ipf.h b/contrib/ipfilter/ipf.h
index 3ac76fc..4d35281 100644
--- a/contrib/ipfilter/ipf.h
+++ b/contrib/ipfilter/ipf.h
@@ -6,7 +6,7 @@
* to the original author and the contributors.
*
* @(#)ipf.h 1.12 6/5/96
- * $Id: ipf.h,v 2.0.1.1 1997/01/09 15:14:43 darrenr Exp $
+ * $Id: ipf.h,v 2.0.2.4 1997/03/27 13:45:18 darrenr Exp $
*/
#ifndef SOLARIS
@@ -29,10 +29,22 @@
#define OPT_SHOWLINENO 0x04000
#define OPT_PRINTFR 0x08000
#define OPT_ZERORULEST 0x10000
+#define OPT_SAVEOUT 0x20000
-extern struct frentry *parse();
+#ifndef __P
+# ifdef __STDC__
+# define __P(x) x
+# else
+# define __P(x) ()
+# endif
+#endif
+
+extern struct frentry *parse __P((char *));
+
+extern void printfr __P((struct frentry *));
+extern void binprint __P((struct frentry *)), initparse __P((void));
+extern u_short portnum __P((char *));
-extern void printfr(), binprint(), initparse();
#if defined(__SVR4) || defined(__svr4__)
#define index strchr
@@ -48,10 +60,12 @@ struct ipopt_names {
};
-extern u_long hostnum(), optname();
-extern void printpacket();
+extern u_long buildopts __P((char *, char *));
+extern u_long hostnum __P((char *, int *));
+extern u_long optname __P((char ***, u_short *));
+extern void printpacket __P((struct ip *));
#if SOLARIS
-extern int inet_aton();
+extern int inet_aton __P((const char *, struct in_addr *));
#endif
#ifdef sun
OpenPOWER on IntegriCloud