diff options
author | sam <sam@FreeBSD.org> | 2003-09-23 17:54:04 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-09-23 17:54:04 +0000 |
commit | cd738e85741205de9f360fdbeaa49f30ce2038d9 (patch) | |
tree | c61b991702ec6f77c0e1b96cda74ae091fa2e749 /sys/modules/bridge | |
parent | 655247e0f5d689da4bda90e946a5227f58670ef2 (diff) | |
download | FreeBSD-src-cd738e85741205de9f360fdbeaa49f30ce2038d9.zip FreeBSD-src-cd738e85741205de9f360fdbeaa49f30ce2038d9.tar.gz |
o update PFIL_HOOKS support to current API used by netbsd
o revamp IPv4+IPv6+bridge usage to match API changes
o remove pfil_head instances from protosw entries (no longer used)
o add locking
o bump FreeBSD version for 3rd party modules
Heavy lifting by: "Max Laier" <max@love2party.net>
Supported by: FreeBSD Foundation
Obtained from: NetBSD (bits of pfil.h and pfil.c)
Diffstat (limited to 'sys/modules/bridge')
-rw-r--r-- | sys/modules/bridge/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/modules/bridge/Makefile b/sys/modules/bridge/Makefile index d2c1e32..70f6b40 100644 --- a/sys/modules/bridge/Makefile +++ b/sys/modules/bridge/Makefile @@ -3,5 +3,15 @@ .PATH: ${.CURDIR}/../../net KMOD= bridge SRCS= bridge.c +SRCS+= opt_pfil_hooks.h + +# +# By default don't enable pfil hooks support. This means you +# cannot use ipfilter together with the bridge. To enable it +# uncomment the line below +# +opt_pfil_hooks.h: +# echo "#define PFIL_HOOKS 1" > opt_pfil_hooks.h + touch opt_pfil_hooks.h .include <bsd.kmod.mk> |