Home
last modified time | relevance | path

Searched refs:bond_dev (Results 1 – 7 of 7) sorted by relevance

/drivers/net/bonding/
Dbond_main.c209 static int bond_init(struct net_device *bond_dev);
210 static void bond_uninit(struct net_device *bond_dev);
211 static struct rtnl_link_stats64 *bond_get_stats(struct net_device *bond_dev,
280 static int bond_vlan_rx_add_vid(struct net_device *bond_dev, in bond_vlan_rx_add_vid() argument
283 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
313 static int bond_vlan_rx_kill_vid(struct net_device *bond_dev, in bond_vlan_rx_kill_vid() argument
316 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
557 static void bond_hw_addr_flush(struct net_device *bond_dev, in bond_hw_addr_flush() argument
560 struct bonding *bond = netdev_priv(bond_dev); in bond_hw_addr_flush()
562 dev_uc_unsync(slave_dev, bond_dev); in bond_hw_addr_flush()
[all …]
Dbond_procfs.c236 struct net_device *bond_dev = bond->dev; in bond_create_proc_entry() local
237 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry()
240 bond->proc_entry = proc_create_data(bond_dev->name, in bond_create_proc_entry()
244 netdev_warn(bond_dev, "Cannot create /proc/net/%s/%s\n", in bond_create_proc_entry()
245 DRV_NAME, bond_dev->name); in bond_create_proc_entry()
247 memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); in bond_create_proc_entry()
253 struct net_device *bond_dev = bond->dev; in bond_remove_proc_entry() local
254 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry()
Dbond_netlink.c22 static size_t bond_get_slave_size(const struct net_device *bond_dev, in bond_get_slave_size() argument
35 const struct net_device *bond_dev, in bond_fill_slave_info() argument
114 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument
118 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
141 static int bond_changelink(struct net_device *bond_dev, in bond_changelink() argument
144 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
166 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink()
274 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink()
385 static int bond_newlink(struct net *src_net, struct net_device *bond_dev, in bond_newlink() argument
390 err = bond_changelink(bond_dev, tb, data); in bond_newlink()
[all …]
Dbond_alb.h175 int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev);
176 int bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev);
178 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr);
Dbond_alb.c1325 int bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_tlb_xmit() argument
1327 struct bonding *bond = netdev_priv(bond_dev); in bond_tlb_xmit()
1363 int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_alb_xmit() argument
1365 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_xmit()
1707 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr) in bond_alb_set_mac_address() argument
1709 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_set_mac_address()
1722 memcpy(bond_dev->dev_addr, sa->sa_data, bond_dev->addr_len); in bond_alb_set_mac_address()
1732 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address()
1738 alb_set_slave_mac_addr(curr_active, bond_dev->dev_addr); in bond_alb_set_mac_address()
1741 bond_dev->dev_addr, false); in bond_alb_set_mac_address()
Dbond_sysfs.c122 struct net_device *bond_dev; in bonding_store_bonds() local
125 bond_dev = bond_get_by_name(bn, ifname); in bonding_store_bonds()
126 if (bond_dev) { in bonding_store_bonds()
128 unregister_netdevice(bond_dev); in bonding_store_bonds()
Dbonding.h525 int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev);
526 int bond_release(struct net_device *bond_dev, struct net_device *slave_dev);
536 void bond_setup(struct net_device *bond_dev);