Home
last modified time | relevance | path

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

/drivers/net/bonding/
Dbond_main.c253 static int bond_init(struct net_device *bond_dev);
254 static void bond_uninit(struct net_device *bond_dev);
255 static void bond_get_stats(struct net_device *bond_dev,
328 static int bond_vlan_rx_add_vid(struct net_device *bond_dev, in bond_vlan_rx_add_vid() argument
331 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
362 static int bond_vlan_rx_kill_vid(struct net_device *bond_dev, in bond_vlan_rx_kill_vid() argument
365 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
387 struct net_device *bond_dev = xs->xso.dev; in bond_ipsec_add_sa() local
393 if (!bond_dev) in bond_ipsec_add_sa()
397 bond = netdev_priv(bond_dev); in bond_ipsec_add_sa()
[all …]
Dbond_netlink.c18 static size_t bond_get_slave_size(const struct net_device *bond_dev, in bond_get_slave_size() argument
33 const struct net_device *bond_dev, in bond_fill_slave_info() argument
130 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument
135 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
158 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument
162 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
184 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink()
300 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink()
448 static int bond_newlink(struct net *src_net, struct net_device *bond_dev, in bond_newlink() argument
454 err = bond_changelink(bond_dev, tb, data, extack); in bond_newlink()
[all …]
Dbond_procfs.c264 struct net_device *bond_dev = bond->dev; in bond_create_proc_entry() local
265 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry()
268 bond->proc_entry = proc_create_seq_data(bond_dev->name, 0444, in bond_create_proc_entry()
271 netdev_warn(bond_dev, "Cannot create /proc/net/%s/%s\n", in bond_create_proc_entry()
272 DRV_NAME, bond_dev->name); in bond_create_proc_entry()
274 memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); in bond_create_proc_entry()
280 struct net_device *bond_dev = bond->dev; in bond_remove_proc_entry() local
281 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry()
Dbond_alb.c1376 netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_tlb_xmit() argument
1378 struct bonding *bond = netdev_priv(bond_dev); in bond_tlb_xmit()
1517 netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_alb_xmit() argument
1519 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_xmit()
1781 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr) in bond_alb_set_mac_address() argument
1783 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_set_mac_address()
1796 bond_hw_addr_copy(bond_dev->dev_addr, ss->__data, bond_dev->addr_len); in bond_alb_set_mac_address()
1806 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address()
1812 alb_set_slave_mac_addr(curr_active, bond_dev->dev_addr, in bond_alb_set_mac_address()
1813 bond_dev->addr_len); in bond_alb_set_mac_address()
[all …]
Dbond_sysfs.c105 struct net_device *bond_dev; in bonding_store_bonds() local
108 bond_dev = bond_get_by_name(bn, ifname); in bonding_store_bonds()
109 if (bond_dev) { in bonding_store_bonds()
111 unregister_netdevice(bond_dev); in bonding_store_bonds()
Dbond_options.c748 static void bond_set_xfrm_features(struct net_device *bond_dev, u64 mode) in bond_set_xfrm_features() argument
754 bond_dev->wanted_features |= BOND_XFRM_FEATURES; in bond_set_xfrm_features()
756 bond_dev->wanted_features &= ~BOND_XFRM_FEATURES; in bond_set_xfrm_features()
758 netdev_update_features(bond_dev); in bond_set_xfrm_features()
/drivers/net/
Dvrf.c1746 static size_t vrf_get_slave_size(const struct net_device *bond_dev, in vrf_get_slave_size() argument