Home
last modified time | relevance | path

Searched refs:master_idx (Results 1 – 4 of 4) sorted by relevance

/net/core/
Drtnetlink.c1531 static bool link_master_filtered(struct net_device *dev, int master_idx) in link_master_filtered() argument
1535 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() argument
1558 if (link_master_filtered(dev, master_idx) || in link_dump_filtered()
1576 int master_idx = 0; in rtnl_dump_ifinfo() local
1601 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()
Dneighbour.c2252 static bool neigh_master_filtered(struct net_device *dev, int master_idx) in neigh_master_filtered() argument
2256 if (!master_idx) in neigh_master_filtered()
2260 if (!master || master->ifindex != master_idx) in neigh_master_filtered()
/net/ipv4/
Ddevinet.c1201 int master_idx; in inet_select_addr() local
1222 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()
/net/ipv6/
Daddrconf.c1655 int master_idx = 0; in ipv6_dev_get_saddr() local
1663 master_idx = master->ifindex; in ipv6_dev_get_saddr()
1677 if (l3mdev_master_ifindex_rcu(dev) != master_idx) in ipv6_dev_get_saddr()