summaryrefslogtreecommitdiffstats
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2007-04-10 00:27:25 +0000
committerthompsa <thompsa@FreeBSD.org>2007-04-10 00:27:25 +0000
commit0f00c64853f65a32f7ca644870fd6ceba5b3ce7d (patch)
tree474c91da17bd5f3ae59c9c4351d9aafe27da1c11 /sys/net/if_var.h
parent84121b90712f942d2525e9acdf31d8cb47c4e6ef (diff)
downloadFreeBSD-src-0f00c64853f65a32f7ca644870fd6ceba5b3ce7d.zip
FreeBSD-src-0f00c64853f65a32f7ca644870fd6ceba5b3ce7d.tar.gz
Add the trunk(4) driver for providing link aggregation, failover and fault
tolerance. This driver allows aggregation of multiple network interfaces as one virtual interface using a number of different protocols/algorithms. failover - Sends traffic through the secondary port if the master becomes inactive. fec - Supports Cisco Fast EtherChannel. lacp - Supports the IEEE 802.3ad Link Aggregation Control Protocol (LACP) and the Marker Protocol. loadbalance - Static loadbalancing using an outgoing hash. roundrobin - Distributes outgoing traffic using a round-robin scheduler through all active ports. This code was obtained from OpenBSD and this also includes 802.3ad LACP support from agr(4) in NetBSD.
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r--sys/net/if_var.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index d66774c..1b4ef93 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -186,6 +186,7 @@ struct ifnet {
TAILQ_HEAD(, ifg_list) if_groups; /* linked list of groups per if */
/* protected by if_addr_mtx */
void *if_pf_kif;
+ void *if_trunk; /* trunk glue */
};
typedef void if_init_f_t(void *);
OpenPOWER on IntegriCloud