Lines Matching defs:bonding
158 struct bonding *bond; /* our master */
211 * Here are the locking policies for the two bonding locks:
214 struct bonding {
224 int (*recv_probe)(const struct sk_buff *, struct bonding *,
285 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond,
291 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave)
296 static inline bool bond_should_override_tx_queue(struct bonding *bond)
302 static inline bool bond_is_lb(const struct bonding *bond)
308 static inline bool bond_needs_speed_duplex(const struct bonding *bond)
313 static inline bool bond_is_nondyn_tlb(const struct bonding *bond)
318 static inline bool bond_mode_can_use_xmit_hash(const struct bonding *bond)
326 static inline bool bond_mode_uses_xmit_hash(const struct bonding *bond)
345 static inline bool bond_uses_primary(struct bonding *bond)
350 static inline struct net_device *bond_option_active_slave_get_rcu(struct bonding *bond)
399 static inline void bond_slave_state_change(struct bonding *bond)
412 static inline void bond_slave_state_notify(struct bonding *bond)
489 static inline int slave_do_arp_validate(struct bonding *bond,
495 static inline int slave_do_arp_validate_only(struct bonding *bond)
517 static inline unsigned long slave_oldest_target_arp_rx(struct bonding *bond,
530 static inline unsigned long slave_last_rx(struct bonding *bond,
615 static inline void bond_slave_link_notify(struct bonding *bond)
653 int bond_rcv_validate(const struct sk_buff *skb, struct bonding *bond, struct slave *slave);
654 netdev_tx_t bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev);
658 void bond_prepare_sysfs_group(struct bonding *bond);
665 u32 bond_xmit_hash(struct bonding *bond, struct sk_buff *skb);
666 int bond_set_carrier(struct bonding *bond);
667 void bond_select_active_slave(struct bonding *bond);
668 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);
671 void bond_debug_register(struct bonding *bond);
672 void bond_debug_unregister(struct bonding *bond);
673 void bond_debug_reregister(struct bonding *bond);
679 struct net_device *bond_option_active_slave_get_rcu(struct bonding *bond);
684 int bond_update_slave_arr(struct bonding *bond, struct slave *skipslave);
685 void bond_slave_arr_work_rearm(struct bonding *bond, unsigned long delay);
686 void bond_work_init_all(struct bonding *bond);
689 void bond_create_proc_entry(struct bonding *bond);
690 void bond_remove_proc_entry(struct bonding *bond);
694 static inline void bond_create_proc_entry(struct bonding *bond)
698 static inline void bond_remove_proc_entry(struct bonding *bond)
711 static inline struct slave *bond_slave_has_mac(struct bonding *bond,
725 static inline bool bond_slave_has_mac_rcu(struct bonding *bond, const u8 *mac)