Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys ipfilter depends on bpf_filter, not bpfilter (since the ...



details:   https://anonhg.NetBSD.org/src/rev/46052ec0cf62
branches:  trunk
changeset: 751085:46052ec0cf62
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Jan 24 14:25:57 2010 +0000

description:
ipfilter depends on bpf_filter, not bpfilter (since the year 2000).

diffstat:

 sys/conf/files             |  13 +++++++------
 sys/netinet/files.ipfilter |   4 ++--
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (50 lines):

diff -r 5801acbd29bb -r 46052ec0cf62 sys/conf/files
--- a/sys/conf/files    Sun Jan 24 14:14:55 2010 +0000
+++ b/sys/conf/files    Sun Jan 24 14:25:57 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files,v 1.970 2010/01/19 22:06:23 pooka Exp $
+#      $NetBSD: files,v 1.971 2010/01/24 14:25:57 pooka Exp $
 #      @(#)files.newconf       7.5 (Berkeley) 5/10/93
 
 version        20090313
@@ -176,6 +176,12 @@
 #
 # Networking protocols
 #
+
+# Attribute used by various things that need BPF's virtual machine
+#
+define bpf_filter
+defparam opt_bpf.h     BPF_BUFSIZE
+
 include "net80211/files.net80211"
 include "netatalk/files.netatalk"
 include "netbt/files.netbt"
@@ -1186,11 +1192,6 @@
 file   dev/ic/iic_cpcbus.c             iic_cpcbus
 
 
-# Attribute used by various things that need BPF's virtual machine
-#
-define bpf_filter
-defparam opt_bpf.h     BPF_BUFSIZE
-
 # Attributes used by the ISDN subsystem
 #
 define isdndev         # the ISDN subsystem
diff -r 5801acbd29bb -r 46052ec0cf62 sys/netinet/files.ipfilter
--- a/sys/netinet/files.ipfilter        Sun Jan 24 14:14:55 2010 +0000
+++ b/sys/netinet/files.ipfilter        Sun Jan 24 14:25:57 2010 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: files.ipfilter,v 1.8 2006/09/17 13:43:15 yamt Exp $
+#      $NetBSD: files.ipfilter,v 1.9 2010/01/24 14:25:57 pooka Exp $
 
 defflag        opt_ipfilter.h  IPFILTER_LOG            # logging of ip packets
 defflag        opt_ipfilter.h  IPFILTER_DEFAULT_BLOCK
 defflag        opt_ipfilter.h  IPFILTER_LOOKUP
 
-defpseudo ipfilter: ifnet              # XXX not really an ifnet
+defpseudo ipfilter: ifnet, bpf_filter          # XXX not really an ifnet
 
 file   dist/ipf/netinet/fil.c                  ipfilter
 file   dist/ipf/netinet/ip_auth.c              ipfilter



Home | Main Index | Thread Index | Old Index