diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-01-22 14:53:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 15:38:42 -0800 |
commit | 25a9b54a4b4a996e5a996c1e841c265d40db1d40 (patch) | |
tree | dbd8f877a0893d7c900b63684c3d274932796466 /drivers/net/bonding/bond_options.h | |
parent | 4fb0ef585eb2825ef4e542c2b1d302dc53f36860 (diff) | |
download | lwn-25a9b54a4b4a996e5a996c1e841c265d40db1d40.tar.gz lwn-25a9b54a4b4a996e5a996c1e841c265d40db1d40.zip |
bonding: convert downdelay to use the new option API
This patch adds the necessary changes so downdelay would use
the new bonding option API. Also some trivial style fixes.
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 da351489a583..5a3f4053811d 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h @@ -46,6 +46,7 @@ enum { BOND_OPT_FAIL_OVER_MAC, BOND_OPT_ARP_INTERVAL, BOND_OPT_ARP_TARGETS, + BOND_OPT_DOWNDELAY, BOND_OPT_LAST }; @@ -121,4 +122,6 @@ int bond_option_arp_interval_set(struct bonding *bond, int bond_option_arp_ip_targets_set(struct bonding *bond, struct bond_opt_value *newval); void bond_option_arp_ip_targets_clear(struct bonding *bond); +int bond_option_downdelay_set(struct bonding *bond, + struct bond_opt_value *newval); #endif /* _BOND_OPTIONS_H */ |