Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/pf Add new type kernel module for pf (includes p...



details:   https://anonhg.NetBSD.org/src/rev/7dd9e279d9ec
branches:  trunk
changeset: 753846:7dd9e279d9ec
user:      ahoka <ahoka%NetBSD.org@localhost>
date:      Mon Apr 12 14:05:38 2010 +0000

description:
Add new type kernel module for pf (includes pflog, but not pfsync).

diffstat:

 sys/modules/pf/Makefile   |  23 +++++++++++++++++++++++
 sys/modules/pf/bpfilter.h |   2 ++
 sys/modules/pf/pf.h       |   2 ++
 sys/modules/pf/pflog.h    |   2 ++
 sys/modules/pf/pfsync.h   |   2 ++
 5 files changed, 31 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r 08ed4134d158 -r 7dd9e279d9ec sys/modules/pf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/pf/Makefile   Mon Apr 12 14:05:38 2010 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2010/04/12 14:05:38 ahoka Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dist/pf/net ${S}/dist/pf/netinet
+
+KMOD=   pf
+
+SRCS=  if_compat.c
+SRCS+= if_pflog.c
+SRCS+= pf.c
+SRCS+= pf_if.c
+SRCS+= pf_ioctl.c
+SRCS+= pf_mtag.c
+SRCS+= pf_norm.c
+SRCS+= pf_osfp.c
+SRCS+= pf_ruleset.c
+SRCS+= pf_table.c
+SRCS+= tcp_rndiss.c
+
+CPPFLAGS+=     -I${S}/dist/pf -I${S} -DINET6 -DINET
+
+.include <bsd.kmodule.mk>
diff -r 08ed4134d158 -r 7dd9e279d9ec sys/modules/pf/bpfilter.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/pf/bpfilter.h Mon Apr 12 14:05:38 2010 +0000
@@ -0,0 +1,2 @@
+/* $NetBSD: bpfilter.h,v 1.1 2010/04/12 14:05:38 ahoka Exp $ */
+#define NBPFILTER 1
diff -r 08ed4134d158 -r 7dd9e279d9ec sys/modules/pf/pf.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/pf/pf.h       Mon Apr 12 14:05:38 2010 +0000
@@ -0,0 +1,2 @@
+/* $NetBSD: pf.h,v 1.1 2010/04/12 14:05:38 ahoka Exp $ */
+#define NPF 1
diff -r 08ed4134d158 -r 7dd9e279d9ec sys/modules/pf/pflog.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/pf/pflog.h    Mon Apr 12 14:05:38 2010 +0000
@@ -0,0 +1,2 @@
+/* $NetBSD: pflog.h,v 1.1 2010/04/12 14:05:38 ahoka Exp $ */
+#define NPFLOG 1
diff -r 08ed4134d158 -r 7dd9e279d9ec sys/modules/pf/pfsync.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/pf/pfsync.h   Mon Apr 12 14:05:38 2010 +0000
@@ -0,0 +1,2 @@
+/* $NetBSD: pfsync.h,v 1.1 2010/04/12 14:05:38 ahoka Exp $ */
+#define NPFSYNC 0



Home | Main Index | Thread Index | Old Index