diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-01-22 14:53:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 15:38:42 -0800 |
commit | edf36b24c58dbbd5f2e708096537bf0a88ffa477 (patch) | |
tree | 0eb18f5930e6e524124df2fc0ac1dd99236fb3cd /drivers/net/bonding/bond_options.h | |
parent | 162288810c9ebd2efb79ee6dc364e266044cac9e (diff) | |
download | lwn-edf36b24c58dbbd5f2e708096537bf0a88ffa477.tar.gz lwn-edf36b24c58dbbd5f2e708096537bf0a88ffa477.zip |
bonding: convert arp_all_targets to use the new option API
This patch adds the necessary changes so arp_all_targets would use the
new bonding option API.
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_options.h')
-rw-r--r-- | drivers/net/bonding/bond_options.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_options.h b/drivers/net/bonding/bond_options.h index 15c6c0185b2e..88f8c178b233 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h @@ -42,6 +42,7 @@ enum { BOND_OPT_PACKETS_PER_SLAVE, BOND_OPT_XMIT_HASH, BOND_OPT_ARP_VALIDATE, + BOND_OPT_ARP_ALL_TARGETS, BOND_OPT_LAST }; @@ -108,4 +109,6 @@ int bond_option_xmit_hash_policy_set(struct bonding *bond, struct bond_opt_value *newval); int bond_option_arp_validate_set(struct bonding *bond, struct bond_opt_value *newval); +int bond_option_arp_all_targets_set(struct bonding *bond, + struct bond_opt_value *newval); #endif /* _BOND_OPTIONS_H */ |