summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-06-27 06:21:55 +0000
committerangelos <angelos@openbsd.org>2001-06-27 06:21:55 +0000
commit8a58220a19b5721f40f1aad47eea37da4d3e461d (patch)
tree9db49d6bfd5a9b0304ba03c66157e824b5b278d6 /sys
parentmips_cachealias is no more (diff)
downloadwireguard-openbsd-8a58220a19b5721f40f1aad47eea37da4d3e461d.tar.xz
wireguard-openbsd-8a58220a19b5721f40f1aad47eea37da4d3e461d.zip
IPF cleanup; openbsd@davidkrause.com
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvmeppc/mvmeppc/conf.c9
-rw-r--r--sys/arch/sparc/include/conf.h9
-rw-r--r--sys/arch/sun3/include/conf.h11
3 files changed, 4 insertions, 25 deletions
diff --git a/sys/arch/mvmeppc/mvmeppc/conf.c b/sys/arch/mvmeppc/mvmeppc/conf.c
index 42a9d977f7f..233ecd28ff3 100644
--- a/sys/arch/mvmeppc/mvmeppc/conf.c
+++ b/sys/arch/mvmeppc/mvmeppc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.1 2001/06/26 21:57:52 smurph Exp $ */
+/* $OpenBSD: conf.c,v 1.2 2001/06/27 06:21:55 angelos Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -146,11 +146,6 @@ cdev_decl(xfs_dev);
cdev_decl(lkm);
-#ifdef IPFILTER
-#define NIPF 1
-#else
-#define NIPF 0
-#endif
#include "ksyms.h"
cdev_decl(ksyms);
@@ -198,7 +193,7 @@ struct cdevsw cdevsw[] = {
cdev_lkm_dummy(), /* 36 */
cdev_lkm_dummy(), /* 37 */
cdev_lkm_dummy(), /* 38 */
- cdev_gen_ipf(NIPF,ipl), /* 39: IP filter */
+ cdev_gen_ipf(NIPF,pf), /* 39: packet filter */
cdev_random_init(1,random), /* 40: random data source */
cdev_uk_init(NUK,uk), /* 41: unknown SCSI */
cdev_ss_init(NSS,ss), /* 42: SCSI scanner */
diff --git a/sys/arch/sparc/include/conf.h b/sys/arch/sparc/include/conf.h
index 1dc3d00790e..bbcc407050c 100644
--- a/sys/arch/sparc/include/conf.h
+++ b/sys/arch/sparc/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.10 1999/07/23 19:11:27 jason Exp $ */
+/* $OpenBSD: conf.h,v 1.11 2001/06/27 06:23:28 angelos Exp $ */
/* $NetBSD: conf.h,v 1.8 1996/12/31 07:12:43 mrg Exp $ */
/*
@@ -76,13 +76,6 @@ cdev_decl(tcx);
cdev_decl(cgfourteen);
-cdev_decl(ipl);
-#ifdef IPFILTER
-#define NIPF 1
-#else
-#define NIPF 0
-#endif
-
bdev_decl(xd);
cdev_decl(xd);
diff --git a/sys/arch/sun3/include/conf.h b/sys/arch/sun3/include/conf.h
index 3a0db95395a..29f48f56084 100644
--- a/sys/arch/sun3/include/conf.h
+++ b/sys/arch/sun3/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.8 2000/03/02 23:01:45 todd Exp $ */
+/* $OpenBSD: conf.h,v 1.9 2001/06/27 06:24:05 angelos Exp $ */
/*-
* Copyright (c) 1996 Kenneth Stailey. All rights reserved.
@@ -75,13 +75,4 @@ cdev_decl(cg2);
#include "cgfour.h"
cdev_decl(cg4);
-/* IP packet filtering */
-/* open, close, read, ioctl */
-cdev_decl(ipl);
-#ifdef IPFILTER
-#define NIPF 1
-#else
-#define NIPF 0
-#endif
-
cdev_decl(ksyms);