aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/ip6fw/Makefile17
2 files changed, 18 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 7c561476c8cc..ac08c28c3c9a 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -8,7 +8,7 @@ _randomdev= randomdev
SUBDIR= 3dfx accf_data accf_http agp aha amr an aue \
cam ccd cd9660 coda cue dc fdesc fxp if_disc if_ef \
- if_ppp if_sl if_tap if_tun ipfilter ipfw ispfw joy kernfs kue \
+ if_ppp if_sl if_tap if_tun ip6fw ipfilter ipfw ispfw joy kernfs kue \
md mfs mii mlx msdos ncp netgraph nfs ntfs nullfs \
nwfs pcn portal procfs ${_randomdev} \
rl rp sf sis sk sn sound ste syscons ti tl twe tx \
diff --git a/sys/modules/ip6fw/Makefile b/sys/modules/ip6fw/Makefile
new file mode 100644
index 000000000000..64fa17ea7f9d
--- /dev/null
+++ b/sys/modules/ip6fw/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../netinet6
+KMOD= ip6fw
+SRCS= ip6_fw.c
+NOMAN=
+CFLAGS+= -DIPV6FIREWALL
+#
+#If you want it verbose
+#CFLAGS+= -DIPV6FIREWALL_VERBOSE
+#CFLAGS+= -DIPV6FIREWALL_VERBOSE_LIMIT=100
+#
+#If you want it to pass all packets by default
+#CFLAGS+= -DIPV6FIREWALL_DEFAULT_TO_ACCEPT
+#
+
+.include <bsd.kmod.mk>