Lines Matching defs:bonding
27 #define DRV_NAME "bonding"
168 * Here are the locking policies for the two bonding locks:
176 struct bonding {
211 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, struct net_device *slave_dev)
225 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave)
231 return (struct bonding *)slave->dev->master->priv;
240 static inline int slave_do_arp_validate(struct bonding *bond,
246 static inline unsigned long slave_last_rx(struct bonding *bond,
257 struct bonding *bond = slave->dev->master->priv;
272 static inline void bond_set_master_3ad_flags(struct bonding *bond)
277 static inline void bond_unset_master_3ad_flags(struct bonding *bond)
282 static inline void bond_set_master_alb_flags(struct bonding *bond)
287 static inline void bond_unset_master_alb_flags(struct bonding *bond)
292 struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr);
293 int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev);
294 int bond_create(char *name, struct bond_params *params, struct bonding **newbond);
298 void bond_destroy_sysfs_entry(struct bonding *bond);
299 int bond_create_sysfs_entry(struct bonding *bond);
308 void bond_set_mode_ops(struct bonding *bond, int mode);
311 void bond_select_active_slave(struct bonding *bond);
312 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);
313 void bond_register_arp(struct bonding *);
314 void bond_unregister_arp(struct bonding *);