Searched refs:bonding (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/bonding/
H A DMakefile5 obj-$(CONFIG_BONDING) += bonding.o
7 bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o
10 bonding-objs += $(ipv6-y)
H A Dbond_alb.h28 struct bonding;
121 int bond_alb_initialize(struct bonding *bond, int rlb_enabled);
122 void bond_alb_deinitialize(struct bonding *bond);
123 int bond_alb_init_slave(struct bonding *bond, struct slave *slave);
124 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave);
125 void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link);
126 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
130 void bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id);
H A Dbonding.h28 #define DRV_NAME "bonding"
183 * Here are the locking policies for the two bonding locks:
191 struct bonding { struct
236 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, struct net_device *slave_dev)
250 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave)
256 return (struct bonding *)netdev_priv(slave->dev->master);
259 static inline bool bond_is_lb(const struct bonding *bond)
279 static inline int slave_do_arp_validate(struct bonding *bond,
285 static inline unsigned long slave_last_rx(struct bonding *bond,
296 struct bonding *bon
[all...]
H A Dbond_alb.c43 #include "bonding.h"
138 static inline void _lock_tx_hashtbl(struct bonding *bond)
143 static inline void _unlock_tx_hashtbl(struct bonding *bond)
169 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, int save_load)
195 static int tlb_initialize(struct bonding *bond)
224 static void tlb_deinitialize(struct bonding *bond)
243 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond)
268 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, u32 skb_len)
310 static inline void _lock_rx_hashtbl(struct bonding *bond)
315 static inline void _unlock_rx_hashtbl(struct bonding *bon
[all...]
H A Dbond_sysfs.c45 #include "bonding.h"
48 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
61 struct bonding *bond;
85 struct bonding *bond;
192 struct bonding *bond = to_bond(d);
225 struct bonding *bond = to_bond(d);
283 * Show and set the bonding mode. The bond interface must be down to
289 struct bonding *bond = to_bond(d);
301 struct bonding *bond = to_bond(d);
343 * Show and set the bonding transmi
[all...]
H A Dbond_main.c7 * bonding.c: an Ethernet Bonding driver
82 #include "bonding.h"
238 static void bond_send_gratuitous_arp(struct bonding *bond);
271 static int bond_add_vlan(struct bonding *bond, unsigned short vlan_id)
303 static int bond_del_vlan(struct bonding *bond, unsigned short vlan_id)
356 static int bond_has_challenged_slaves(struct bonding *bond)
383 struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr)
422 int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb,
472 * and cannot be extended for a teaming solution like bonding, so there is a
481 * @bond_dev: bonding ne
[all...]
H A Dbond_3ad.h168 struct bonding;
249 // ================= AD Exported structures to the main bonding code ==================
271 // ================= AD Exported functions to the main bonding code ==================
272 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution, int lacp_fast);
276 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout);
280 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
283 int bond_3ad_set_carrier(struct bonding *bond);
H A Dbond_ipv6.c31 #include "bonding.h"
103 * the bonding master. This will help the switch learn our address
108 void bond_send_unsolicited_na(struct bonding *bond)
157 struct bonding *bond;
H A Dbond_3ad.c34 #include "bonding.h"
121 // ================= api to bonding and kernel code ==================
125 * __get_bond_by_port - get the port's bonding struct
128 * Return @port's bonding struct, or %NULL if it can't be found.
130 static inline struct bonding *__get_bond_by_port(struct port *port)
145 static inline struct port *__get_first_port(struct bonding *bond)
163 struct bonding *bond = __get_bond_by_port(port);
183 struct bonding *bond = __get_bond_by_port(port);
203 struct bonding *bond = bond_get_bond_by_slave(slave);
266 struct bonding *bon
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/batman-adv/
H A Dbat_sysfs.c120 "Invalid parameter for 'bonding' setting received: "
128 bat_info(net_dev, "Changing bonding from: %s to: %s\n",
281 static BAT_ATTR(bonding, S_IRUGO | S_IWUSR, show_bond, store_bond);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A DMakefile26 obj-$(CONFIG_BONDING) += bonding/

Completed in 187 milliseconds