/Linux-v6.1/drivers/net/bonding/ |
D | bond_main.c | 259 static int bond_init(struct net_device *bond_dev); 260 static void bond_uninit(struct net_device *bond_dev); 261 static void bond_get_stats(struct net_device *bond_dev, 366 static int bond_vlan_rx_add_vid(struct net_device *bond_dev, in bond_vlan_rx_add_vid() argument 369 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid() 400 static int bond_vlan_rx_kill_vid(struct net_device *bond_dev, in bond_vlan_rx_kill_vid() argument 403 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid() 425 struct net_device *bond_dev = xs->xso.dev; in bond_ipsec_add_sa() local 431 if (!bond_dev) in bond_ipsec_add_sa() 435 bond = netdev_priv(bond_dev); in bond_ipsec_add_sa() [all …]
|
D | bond_procfs.c | 285 struct net_device *bond_dev = bond->dev; in bond_create_proc_entry() local 286 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry() 289 bond->proc_entry = proc_create_seq_data(bond_dev->name, 0444, in bond_create_proc_entry() 292 netdev_warn(bond_dev, "Cannot create /proc/net/%s/%s\n", in bond_create_proc_entry() 293 DRV_NAME, bond_dev->name); in bond_create_proc_entry() 295 memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); in bond_create_proc_entry() 301 struct net_device *bond_dev = bond->dev; in bond_remove_proc_entry() local 302 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry()
|
D | bond_netlink.c | 19 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 139 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument 144 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink() 178 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument 182 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink() 205 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink() 365 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink() 550 static int bond_newlink(struct net *src_net, struct net_device *bond_dev, in bond_newlink() argument 556 err = bond_changelink(bond_dev, tb, data, extack); in bond_newlink() [all …]
|
D | bond_alb.c | 1409 netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_tlb_xmit() argument 1411 struct bonding *bond = netdev_priv(bond_dev); in bond_tlb_xmit() 1523 netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_alb_xmit() argument 1525 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_xmit() 1786 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr) in bond_alb_set_mac_address() argument 1788 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_set_mac_address() 1801 dev_addr_set(bond_dev, ss->__data); in bond_alb_set_mac_address() 1811 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address() 1817 alb_set_slave_mac_addr(curr_active, bond_dev->dev_addr, in bond_alb_set_mac_address() 1818 bond_dev->addr_len); in bond_alb_set_mac_address() [all …]
|
D | bond_sysfs.c | 105 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()
|
/Linux-v6.1/include/net/ |
D | bonding.h | 44 #define slave_info(bond_dev, slave_dev, fmt, ...) \ argument 45 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 46 #define slave_warn(bond_dev, slave_dev, fmt, ...) \ argument 47 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 48 #define slave_dbg(bond_dev, slave_dev, fmt, ...) \ argument 49 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 50 #define slave_err(bond_dev, slave_dev, fmt, ...) \ argument 51 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 666 int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev, 668 int bond_release(struct net_device *bond_dev, struct net_device *slave_dev); [all …]
|
D | bond_alb.h | 159 int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev); 160 int bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev); 166 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr);
|
/Linux-v6.1/drivers/net/ |
D | vrf.c | 1811 static size_t vrf_get_slave_size(const struct net_device *bond_dev, in vrf_get_slave_size() argument
|