diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-01-22 17:53:23 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-23 03:38:42 +0400 |
commit | 7bdb04ed0dbf9f0e94110be43db4f8bb7df58de2 (patch) | |
tree | 32d3faa0349f33912923606058c082bcf712437d /drivers/net/bonding/bond_options.h | |
parent | 1df6b6aa334c99b39f9366f4199b7f5e479a8899 (diff) | |
download | linux-7bdb04ed0dbf9f0e94110be43db4f8bb7df58de2.tar.xz |
bonding: convert arp_interval to use the new option API
This patch adds the necessary changes so arp_interval would use
the new bonding option API. The "default" definition has been removed as
it was 0.
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 e80a0310d7af..f02b8573116e 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h @@ -44,6 +44,7 @@ enum { BOND_OPT_ARP_VALIDATE, BOND_OPT_ARP_ALL_TARGETS, BOND_OPT_FAIL_OVER_MAC, + BOND_OPT_ARP_INTERVAL, BOND_OPT_LAST }; @@ -114,4 +115,6 @@ int bond_option_arp_all_targets_set(struct bonding *bond, struct bond_opt_value *newval); int bond_option_fail_over_mac_set(struct bonding *bond, struct bond_opt_value *newval); +int bond_option_arp_interval_set(struct bonding *bond, + struct bond_opt_value *newval); #endif /* _BOND_OPTIONS_H */ |