Lines Matching refs:ifindex
179 int ifindex = nla_get_u32(data[IFLA_BOND_ACTIVE_SLAVE]); in bond_changelink() local
183 if (ifindex != 0) { in bond_changelink()
185 ifindex); in bond_changelink()
296 int ifindex = nla_get_u32(data[IFLA_BOND_PRIMARY]); in bond_changelink() local
300 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink()
513 int ifindex; in bond_option_active_slave_get_ifindex() local
517 ifindex = slave ? slave->ifindex : 0; in bond_option_active_slave_get_ifindex()
519 return ifindex; in bond_option_active_slave_get_ifindex()
527 int ifindex, i, targets_added; in bond_fill_info() local
534 ifindex = bond_option_active_slave_get_ifindex(bond); in bond_fill_info()
535 if (ifindex && nla_put_u32(skb, IFLA_BOND_ACTIVE_SLAVE, ifindex)) in bond_fill_info()
586 nla_put_u32(skb, IFLA_BOND_PRIMARY, primary->dev->ifindex)) in bond_fill_info()