diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-01-22 14:53:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 15:38:42 -0800 |
commit | 162288810c9ebd2efb79ee6dc364e266044cac9e (patch) | |
tree | 2638c5904daed142d5bbaa8d0dbcfde0c35f1d22 /drivers/net/bonding/bond_options.h | |
parent | a4b32ce7f891d507aa663bc78118ef267f0d6d4c (diff) | |
download | lwn-162288810c9ebd2efb79ee6dc364e266044cac9e.tar.gz lwn-162288810c9ebd2efb79ee6dc364e266044cac9e.zip |
bonding: convert arp_validate to use the new option API
This patch adds the necessary changes so arp_validate would use the
new bonding option API. Also fix some trivial/style errors.
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 2578f1b6e4dd..15c6c0185b2e 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h @@ -41,6 +41,7 @@ enum { BOND_OPT_MODE, BOND_OPT_PACKETS_PER_SLAVE, BOND_OPT_XMIT_HASH, + BOND_OPT_ARP_VALIDATE, BOND_OPT_LAST }; @@ -105,4 +106,6 @@ int bond_option_mode_set(struct bonding *bond, struct bond_opt_value *newval); int bond_option_pps_set(struct bonding *bond, struct bond_opt_value *newval); 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); #endif /* _BOND_OPTIONS_H */ |