Searched refs:master_idx (Results 1 – 4 of 4) sorted by relevance
1531 static bool link_master_filtered(struct net_device *dev, int master_idx) in link_master_filtered() argument1535 if (!master_idx) in link_master_filtered()1539 if (!master || master->ifindex != master_idx) in link_master_filtered()1555 int master_idx, in link_dump_filtered() argument1558 if (link_master_filtered(dev, master_idx) || in link_dump_filtered()1576 int master_idx = 0; in rtnl_dump_ifinfo() local1601 master_idx = nla_get_u32(tb[IFLA_MASTER]); in rtnl_dump_ifinfo()1606 if (master_idx || kind_ops) in rtnl_dump_ifinfo()1614 if (link_dump_filtered(dev, master_idx, kind_ops)) in rtnl_dump_ifinfo()
2252 static bool neigh_master_filtered(struct net_device *dev, int master_idx) in neigh_master_filtered() argument2256 if (!master_idx) in neigh_master_filtered()2260 if (!master || master->ifindex != master_idx) in neigh_master_filtered()
1201 int master_idx; in inet_select_addr() local1222 master_idx = l3mdev_master_ifindex_rcu(dev); in inet_select_addr()1229 if (master_idx && in inet_select_addr()1230 (dev = dev_get_by_index_rcu(net, master_idx)) && in inet_select_addr()1246 if (l3mdev_master_ifindex_rcu(dev) != master_idx) in inet_select_addr()
1655 int master_idx = 0; in ipv6_dev_get_saddr() local1663 master_idx = master->ifindex; in ipv6_dev_get_saddr()1677 if (l3mdev_master_ifindex_rcu(dev) != master_idx) in ipv6_dev_get_saddr()