Home
last modified time | relevance | path

Searched refs:bond (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/include/net/
Dbonding.h41 #define BOND_MODE(bond) ((bond)->params.mode) argument
44 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower) argument
46 #define bond_has_slaves(bond) !list_empty(bond_slave_list(bond)) argument
49 #define bond_first_slave(bond) \ argument
50 (bond_has_slaves(bond) ? \
51 netdev_adjacent_get_private(bond_slave_list(bond)->next) : \
53 #define bond_last_slave(bond) \ argument
54 (bond_has_slaves(bond) ? \
55 netdev_adjacent_get_private(bond_slave_list(bond)->prev) : \
59 #define bond_first_slave_rcu(bond) \ argument
[all …]
Dbond_alb.h30 #define BOND_ALB_INFO(bond) ((bond)->alb_info) argument
39 #define BOND_ALB_LP_INTERVAL(bond) (bond->params.lp_interval) /* In seconds, periodic send of argument
46 #define BOND_ALB_LP_TICKS(bond) (BOND_ALB_LP_INTERVAL(bond) \ argument
169 int bond_alb_initialize(struct bonding *bond, int rlb_enabled);
170 void bond_alb_deinitialize(struct bonding *bond);
171 int bond_alb_init_slave(struct bonding *bond, struct slave *slave);
172 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave);
173 void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link);
174 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
179 void bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id);
Dbond_3ad.h263 #define BOND_AD_INFO(bond) ((bond)->ad_info) argument
295 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution);
299 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout);
302 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
303 int __bond_3ad_get_active_agg_info(struct bonding *bond,
305 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond,
307 int bond_3ad_set_carrier(struct bonding *bond);
308 void bond_3ad_update_lacp_rate(struct bonding *bond);
309 void bond_3ad_update_ad_actor_settings(struct bonding *bond);
Dbond_options.h102 int (*set)(struct bonding *bond, const struct bond_opt_value *val);
105 int __bond_opt_set(struct bonding *bond, unsigned int option,
107 int __bond_opt_set_notify(struct bonding *bond, unsigned int option,
109 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf);
134 void bond_option_arp_ip_targets_clear(struct bonding *bond);
/linux-4.19.296/include/linux/
Dnetdevice.h2547 #define for_each_netdev_in_bond_rcu(bond, slave) \ argument
2549 if (netdev_master_upper_dev_get_rcu(slave) == (bond))