Add trunk(4) module.

This commit is contained in:
Andrew Thompson 2007-04-10 00:41:31 +00:00
parent 7b62d98bf8
commit 75efd6fd67
2 changed files with 20 additions and 0 deletions

View File

@ -113,6 +113,7 @@ SUBDIR= ${_3dfx} \
if_sl \
if_stf \
if_tap \
if_trunk \
if_tun \
if_vlan \
${_iir} \

View File

@ -0,0 +1,19 @@
# $FreeBSD$
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../../net
KMOD= if_trunk
SRCS= if_trunk.c ieee8023ad_lacp.c opt_inet.h opt_inet6.h
.if !defined(KERNBUILDDIR)
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.if ${MK_INET6_SUPPORT} != "no"
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}
.endif
.endif
.include <bsd.kmod.mk>