Hook trunk(4) up to the build.

This commit is contained in:
Andrew Thompson 2007-04-10 00:35:31 +00:00
parent b9cb107e3a
commit 7b62d98bf8
5 changed files with 22 additions and 0 deletions

View File

@ -30,6 +30,7 @@ SRCS+= ifgroup.c # ...
SRCS+= ifpfsync.c # pfsync(4) support
SRCS+= ifbridge.c # bridge support
SRCS+= iftrunk.c # trunk support
.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
SRCS+= af_ipx.c # IPX support

View File

@ -1367,6 +1367,23 @@ cost to 0.
The minimum is 1 and the maximum is 200000000.
.El
.Pp
The following parameters are specific to trunk interfaces:
.Bl -tag -width indent
.It Cm trunkport Ar interface
Add the interface named by
.Ar interface
as a port of the trunk.
.It Cm -trunkport Ar interface
Remove the interface named by
.Ar interface
from the trunk.
.It Cm trunkproto Ar proto
Set the trunking protocol.
The default is failover.
The available options are failover, fec, lacp, loadbalance, roundrobin and
none.
.El
.Pp
The following parameters are specific to IP tunnel interfaces,
.Xr gif 4 :
.Bl -tag -width indent

View File

@ -348,6 +348,7 @@ MAN= aac.4 \
ti.4 \
tl.4 \
trm.4 \
trunk.4 \
tty.4 \
tun.4 \
twa.4 \

View File

@ -813,6 +813,7 @@ device ppp #Point-to-point protocol
options PPP_BSDCOMP #PPP BSD-compress support
options PPP_DEFLATE #PPP zlib/deflate/gzip support
options PPP_FILTER #enable bpf filtering (needs bpf)
options trunk #Trunk aggregation interface
device ef # Multiple ethernet frames support
options ETHER_II # enable Ethernet_II frame

View File

@ -1527,6 +1527,7 @@ net/bpf_jitter.c optional bpf_jitter
net/bpf_filter.c optional bpf | netgraph_bpf
net/bridgestp.c optional if_bridge
net/bsd_comp.c optional ppp_bsdcomp
net/ieee8023ad_lacp.c optional trunk
net/if.c standard
net/if_arcsubr.c optional arcnet
net/if_atmsubr.c optional atm
@ -1553,6 +1554,7 @@ net/if_spppsubr.c optional i4bisppp | sppp
net/if_stf.c optional stf
net/if_tun.c optional tun
net/if_tap.c optional tap
net/if_trunk.c optional trunk
net/if_vlan.c optional vlan
net/netisr.c standard
net/ppp_deflate.c optional ppp_deflate