summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-bond.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-06-25 13:02:53 +0200
committerTom Gundersen <teg@jklm.no>2015-06-25 13:02:53 +0200
commit3dfc034b4d46f67d6eda8801f1d4be26c37ab0b7 (patch)
tree38b1d3d8071d40d704428a549040f044cf1b7595 /src/network/networkd-netdev-bond.h
parent9124468a5e5664e9fb7ca448021a6d8ea8ec4aeb (diff)
parentdd906398dd0aa8582bdba519a2026278359c2888 (diff)
Merge pull request #355 from dvdhrm/netlink
sd-netlink cleanups
Diffstat (limited to 'src/network/networkd-netdev-bond.h')
-rw-r--r--src/network/networkd-netdev-bond.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-bond.h b/src/network/networkd-netdev-bond.h
index 32d1702d58..9991fa731f 100644
--- a/src/network/networkd-netdev-bond.h
+++ b/src/network/networkd-netdev-bond.h
@@ -25,6 +25,12 @@ typedef struct Bond Bond;
#include "networkd-netdev.h"
+/*
+ * Maximum number of targets supported by the kernel for a single
+ * bond netdev.
+ */
+#define NETDEV_BOND_ARP_TARGETS_MAX 16
+
typedef enum BondMode {
NETDEV_BOND_MODE_BALANCE_RR,
NETDEV_BOND_MODE_ACTIVE_BACKUP,