Lines Matching refs:dev_net
289 if (dev_net(r->dst.dev) == seq_file_net(seq) &&
322 if (dev_net(r->dst.dev) != seq_file_net(seq))
703 return net_eq(dev_net(rt1->dst.dev), dev_net(rt2->dst.dev));
708 return rth->rt_genid != rt_genid(dev_net(rth->dst.dev));
1093 if (!rt_caching(dev_net(rt->dst.dev))) {
1190 struct net *net = dev_net(rt->dst.dev);
1362 net = dev_net(dev);
1396 !net_eq(dev_net(rth->dst.dev), net)) {
1496 rt_genid(dev_net(dst->dev)));
1589 IP_INC_STATS_BH(dev_net(rt->dst.dev),
1658 !net_eq(dev_net(rth->dst.dev), net) ||
1736 if (dev != dev_net(dev)->loopback_dev && idev && idev->dev == dev) {
1738 in_dev_get(dev_net(dev)->loopback_dev);
1782 else if (fib_lookup(dev_net(rt->dst.dev), &rt->fl, &res) == 0) {
1901 rth->rt_genid = rt_genid(dev_net(dev));
1915 hash = rt_hash(daddr, saddr, dev->ifindex, rt_genid(dev_net(dev)));
2044 rth->rt_genid = rt_genid(dev_net(rth->dst.dev));
2078 rt_genid(dev_net(rth->dst.dev)));
2112 struct net * net = dev_net(dev);
2284 net = dev_net(dev);
2302 net_eq(dev_net(rth->dst.dev), net) &&
2441 rth->rt_genid = rt_genid(dev_net(dev_out));
2491 rt_genid(dev_net(dev_out)));
2710 net_eq(dev_net(rth->dst.dev), net) &&
3034 if (!net_eq(dev_net(rt->dst.dev), net) || idx < s_idx)
3059 rt_cache_flush(dev_net(in_dev->dev), 0);