134ea22494
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)
18 lines
364 B
Makefile
18 lines
364 B
Makefile
# $FreeBSD$
|
|
|
|
.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>
|