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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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
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);
128 void bond_alb_monitor(struct bonding *bond);
130 void bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id);
H A Dbonding.h27 #define DRV_NAME "bonding"
168 * Here are the locking policies for the two bonding locks:
176 struct bonding { struct
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 *bon
[all...]
H A Dbond_sysfs.c40 #include "bonding.h"
42 #define to_bond(cd) ((struct bonding *)(to_net_dev(cd)->priv))
80 struct bonding *bond;
114 struct bonding *bond;
115 struct bonding *nxt;
232 struct bonding *bond = to_bond(d);
265 struct bonding *bond = to_bond(d);
394 * Show and set the bonding mode. The bond interface must be down to
400 struct bonding *bond = to_bond(d);
412 struct bonding *bon
[all...]
H A Dbond_alb.c42 #include "bonding.h"
129 static inline void _lock_tx_hashtbl(struct bonding *bond)
134 static inline void _unlock_tx_hashtbl(struct bonding *bond)
160 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, int save_load)
183 static int tlb_initialize(struct bonding *bond)
213 static void tlb_deinitialize(struct bonding *bond)
226 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond)
264 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, u32 skb_len)
306 static inline void _lock_rx_hashtbl(struct bonding *bond)
311 static inline void _unlock_rx_hashtbl(struct bonding *bon
[all...]
H A Dbond_3ad.h174 struct bonding;
253 // ================= AD Exported structures to the main bonding code ==================
275 // ================= AD Exported functions to the main bonding code ==================
276 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution, int lacp_fast);
279 void bond_3ad_state_machine_handler(struct bonding *bond);
283 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
286 int bond_3ad_set_carrier(struct bonding *bond);
H A Dbond_main.c7 * bonding.c: an Ethernet Bonding driver
78 #include "bonding.h"
186 static void bond_send_gratuitous_arp(struct bonding *bond);
221 static int bond_add_vlan(struct bonding *bond, unsigned short vlan_id)
255 static int bond_del_vlan(struct bonding *bond, unsigned short vlan_id)
310 static int bond_has_challenged_slaves(struct bonding *bond)
337 struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr)
377 int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev)
414 * and cannot be extended for a teaming solution like bonding, so there is a
423 * @bond_dev: bonding ne
[all...]
H A Dbond_3ad.c32 #include "bonding.h"
98 // ================= 3AD api to bonding and kernel code ==================
147 // ================= api to bonding and kernel code ==================
151 * __get_bond_by_port - get the port's bonding struct
154 * Return @port's bonding struct, or %NULL if it can't be found.
156 static inline struct bonding *__get_bond_by_port(struct port *port)
171 static inline struct port *__get_first_port(struct bonding *bond)
189 struct bonding *bond = __get_bond_by_port(port);
209 struct bonding *bond = __get_bond_by_port(port);
229 struct bonding *bon
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A DMakefile11 obj-$(CONFIG_BONDING) += bonding/

Completed in 50 milliseconds