summaryrefslogtreecommitdiff
path: root/sys/net/if_lagg.h
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2014-10-05 02:34:21 +0000
committerHiroki Sato <hrs@FreeBSD.org>2014-10-05 02:34:21 +0000
commit6d47816791b8deb91352f7b71d1266ca7d453ef3 (patch)
tree77c6b3942a56a5c890e4b5735beedc665175ad41 /sys/net/if_lagg.h
parent25108069ec57827e35a52743363400b0f960a521 (diff)
downloadsrc-test2-6d47816791b8deb91352f7b71d1266ca7d453ef3.tar.gz
src-test2-6d47816791b8deb91352f7b71d1266ca7d453ef3.zip
Notes
Diffstat (limited to 'sys/net/if_lagg.h')
-rw-r--r--sys/net/if_lagg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/if_lagg.h b/sys/net/if_lagg.h
index bbb3497f96cd..e86ed06fcca7 100644
--- a/sys/net/if_lagg.h
+++ b/sys/net/if_lagg.h
@@ -159,6 +159,9 @@ struct lagg_reqopts {
#define SIOCGLAGGOPTS _IOWR('i', 152, struct lagg_reqopts)
#define SIOCSLAGGOPTS _IOW('i', 153, struct lagg_reqopts)
+#define LAGG_OPT_BITS "\020\001USE_FLOWID\005LACP_STRICT" \
+ "\006LACP_TXTEST\007LACP_RXTEST"
+
#ifdef _KERNEL
/*
@@ -203,6 +206,7 @@ struct lagg_mc {
struct lagg_llq {
struct ifnet *llq_ifp;
uint8_t llq_lladdr[ETHER_ADDR_LEN];
+ uint8_t llq_primary;
SLIST_ENTRY(lagg_llq) llq_entries;
};