Source-Changes-HG archive

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

[src/trunk]: src add bpf kmod



details:   https://anonhg.NetBSD.org/src/rev/8913958312d3
branches:  trunk
changeset: 751139:8913958312d3
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jan 25 22:21:28 2010 +0000

description:
add bpf kmod

diffstat:

 distrib/sets/lists/modules/mi |   4 +++-
 sys/modules/Makefile          |   3 ++-
 sys/modules/bpf/Makefile      |  13 +++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (52 lines):

diff -r b9b4eb7a553f -r 8913958312d3 distrib/sets/lists/modules/mi
--- a/distrib/sets/lists/modules/mi     Mon Jan 25 22:18:17 2010 +0000
+++ b/distrib/sets/lists/modules/mi     Mon Jan 25 22:21:28 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.5 2009/12/05 20:11:02 pooka Exp $
+# $NetBSD: mi,v 1.6 2010/01/25 22:21:28 pooka Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -14,6 +14,8 @@
 ./@MODULEDIR@/adosfs/adosfs.kmod               base-kernel-modules     kmod
 ./@MODULEDIR@/aio                              base-kernel-modules     kmod
 ./@MODULEDIR@/aio/aio.kmod                     base-kernel-modules     kmod
+./@MODULEDIR@/bpf                              base-kernel-modules     kmod
+./@MODULEDIR@/bpf/bpf.kmod                     base-kernel-modules     kmod
 ./@MODULEDIR@/cd9660                           base-kernel-modules     kmod
 ./@MODULEDIR@/cd9660/cd9660.kmod               base-kernel-modules     kmod
 ./@MODULEDIR@/coda                             base-kernel-modules     kmod
diff -r b9b4eb7a553f -r 8913958312d3 sys/modules/Makefile
--- a/sys/modules/Makefile      Mon Jan 25 22:18:17 2010 +0000
+++ b/sys/modules/Makefile      Mon Jan 25 22:21:28 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.37 2010/01/05 20:49:04 dyoung Exp $
+#      $NetBSD: Makefile,v 1.38 2010/01/25 22:21:28 pooka Exp $
 
 .include <bsd.own.mk>
 
@@ -8,6 +8,7 @@
 SUBDIR+=       accf_httpready
 SUBDIR+=       adosfs
 SUBDIR+=       aio
+SUBDIR+=       bpf
 SUBDIR+=       cd9660
 SUBDIR+=       coda
 SUBDIR+=       coda5
diff -r b9b4eb7a553f -r 8913958312d3 sys/modules/bpf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/bpf/Makefile  Mon Jan 25 22:21:28 2010 +0000
@@ -0,0 +1,13 @@
+#      $NetBSD: Makefile,v 1.1 2010/01/25 22:21:28 pooka Exp $
+#
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/net
+
+KMOD=  bpf
+# XXX: bpf_filter.c maybe needs to be its own module (or made
+# inseparable from bpfilter?)
+SRCS=  bpf.c bpf_filter.c
+
+.include <bsd.kmodule.mk>



Home | Main Index | Thread Index | Old Index