Hook trunk(4) up to the build.
This commit is contained in:
parent
b9cb107e3a
commit
7b62d98bf8
@ -30,6 +30,7 @@ SRCS+= ifgroup.c # ...
|
|||||||
SRCS+= ifpfsync.c # pfsync(4) support
|
SRCS+= ifpfsync.c # pfsync(4) support
|
||||||
|
|
||||||
SRCS+= ifbridge.c # bridge support
|
SRCS+= ifbridge.c # bridge support
|
||||||
|
SRCS+= iftrunk.c # trunk support
|
||||||
|
|
||||||
.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
|
.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
|
||||||
SRCS+= af_ipx.c # IPX support
|
SRCS+= af_ipx.c # IPX support
|
||||||
|
@ -1367,6 +1367,23 @@ cost to 0.
|
|||||||
The minimum is 1 and the maximum is 200000000.
|
The minimum is 1 and the maximum is 200000000.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.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,
|
The following parameters are specific to IP tunnel interfaces,
|
||||||
.Xr gif 4 :
|
.Xr gif 4 :
|
||||||
.Bl -tag -width indent
|
.Bl -tag -width indent
|
||||||
|
@ -348,6 +348,7 @@ MAN= aac.4 \
|
|||||||
ti.4 \
|
ti.4 \
|
||||||
tl.4 \
|
tl.4 \
|
||||||
trm.4 \
|
trm.4 \
|
||||||
|
trunk.4 \
|
||||||
tty.4 \
|
tty.4 \
|
||||||
tun.4 \
|
tun.4 \
|
||||||
twa.4 \
|
twa.4 \
|
||||||
|
@ -813,6 +813,7 @@ device ppp #Point-to-point protocol
|
|||||||
options PPP_BSDCOMP #PPP BSD-compress support
|
options PPP_BSDCOMP #PPP BSD-compress support
|
||||||
options PPP_DEFLATE #PPP zlib/deflate/gzip support
|
options PPP_DEFLATE #PPP zlib/deflate/gzip support
|
||||||
options PPP_FILTER #enable bpf filtering (needs bpf)
|
options PPP_FILTER #enable bpf filtering (needs bpf)
|
||||||
|
options trunk #Trunk aggregation interface
|
||||||
|
|
||||||
device ef # Multiple ethernet frames support
|
device ef # Multiple ethernet frames support
|
||||||
options ETHER_II # enable Ethernet_II frame
|
options ETHER_II # enable Ethernet_II frame
|
||||||
|
@ -1527,6 +1527,7 @@ net/bpf_jitter.c optional bpf_jitter
|
|||||||
net/bpf_filter.c optional bpf | netgraph_bpf
|
net/bpf_filter.c optional bpf | netgraph_bpf
|
||||||
net/bridgestp.c optional if_bridge
|
net/bridgestp.c optional if_bridge
|
||||||
net/bsd_comp.c optional ppp_bsdcomp
|
net/bsd_comp.c optional ppp_bsdcomp
|
||||||
|
net/ieee8023ad_lacp.c optional trunk
|
||||||
net/if.c standard
|
net/if.c standard
|
||||||
net/if_arcsubr.c optional arcnet
|
net/if_arcsubr.c optional arcnet
|
||||||
net/if_atmsubr.c optional atm
|
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_stf.c optional stf
|
||||||
net/if_tun.c optional tun
|
net/if_tun.c optional tun
|
||||||
net/if_tap.c optional tap
|
net/if_tap.c optional tap
|
||||||
|
net/if_trunk.c optional trunk
|
||||||
net/if_vlan.c optional vlan
|
net/if_vlan.c optional vlan
|
||||||
net/netisr.c standard
|
net/netisr.c standard
|
||||||
net/ppp_deflate.c optional ppp_deflate
|
net/ppp_deflate.c optional ppp_deflate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user