Lines Matching refs:fib_nh_dev
474 dev = nh->fib_nh_dev; in __rt6_device_match()
635 dev = fib6_nh->fib_nh_dev; in rt6_probe()
687 neigh = __ipv6_neigh_lookup_noref(fib6_nh->fib_nh_dev, in rt6_check_neigh()
714 if (!oif || nh->fib_nh_dev->ifindex == oif) in rt6_score_route()
741 if (ip6_ignore_linkdown(nh->fib_nh_dev) && in find_match()
1009 struct net_device *dev = res->nh->fib_nh_dev; in ip6_rt_get_dev_rcu()
1123 const struct net_device *dev = nh->fib_nh_dev; in ip6_rt_copy_init()
1178 struct net_device *dev = res->nh->fib_nh_dev; in ip6_create_rt_rcu()
1584 struct net_device *dev = nh->fib_nh_dev; in fib6_mtu()
1946 if (arg->dev != nh->fib_nh_dev || in fib6_nh_find_match()
2994 fl6->flowi6_oif != nh->fib_nh_dev->ifindex) in ip6_redirect_nh_match()
3237 struct net_device *dev = nh->fib_nh_dev; in ip6_mtu_from_fib6()
3359 (res.fib6_type != RTN_UNICAST || dev != res.nh->fib_nh_dev)) { in ip6_route_check_nh_onlink()
3387 (dev && dev != res.nh->fib_nh_dev)) in ip6_route_check_nh()
3411 if (dev != res.nh->fib_nh_dev) in ip6_route_check_nh()
3414 *_dev = dev = res.nh->fib_nh_dev; in ip6_route_check_nh()
3620 fib6_nh->fib_nh_dev = dev; in fib6_nh_init()
3809 if (fib6_is_reject(cfg->fc_flags, rt->fib6_nh->fib_nh_dev, in ip6_route_info_create()
3815 struct net_device *dev = fib6_nh->fib_nh_dev; in ip6_route_info_create()
4084 (!nh->fib_nh_dev || in ip6_route_del()
4085 nh->fib_nh_dev->ifindex != cfg->fc_ifindex)) in ip6_route_del()
4273 if (rt->fib6_nh->fib_nh_dev->ifindex != ifindex) in rt6_get_route_info()
4343 if (dev == nh->fib_nh_dev && in rt6_get_dflt_router()
4598 ((void *)rt->fib6_nh->fib_nh_dev == dev || !dev) && in fib6_remove_prefsrc()
4684 ip6_ignore_linkdown(rt->fib6_nh->fib_nh_dev))) in rt6_is_dead()
4759 rt->fib6_nh->fib_nh_dev == arg->dev) { in fib6_ifup()
4789 if (rt->fib6_nh->fib_nh_dev == dev) in rt6_multipath_uses_dev()
4792 if (iter->fib6_nh->fib_nh_dev == dev) in rt6_multipath_uses_dev()
4813 if (rt->fib6_nh->fib_nh_dev == down_dev || in rt6_multipath_dead_count()
4817 if (iter->fib6_nh->fib_nh_dev == down_dev || in rt6_multipath_dead_count()
4830 if (rt->fib6_nh->fib_nh_dev == dev) in rt6_multipath_nh_flags_set()
4833 if (iter->fib6_nh->fib_nh_dev == dev) in rt6_multipath_nh_flags_set()
4849 return rt->fib6_nh->fib_nh_dev == dev ? -1 : 0; in fib6_ifdown()
4854 return rt->fib6_nh->fib_nh_dev == dev ? -1 : 0; in fib6_ifdown()
4870 if (rt->fib6_nh->fib_nh_dev != dev || in fib6_ifdown()
4920 if (nh->fib_nh_dev == arg->dev) { in fib6_nh_mtu_change()
5790 if (nh->fib_nh_dev == dev) in fib6_info_nh_uses_dev()
5807 if (f6i->fib6_nh->fib_nh_dev == dev) in fib6_info_uses_dev()
5815 if (sibling->fib6_nh->fib_nh_dev == dev) in fib6_info_uses_dev()
6282 net->ipv6.fib6_null_entry->fib6_nh->fib_nh_dev = dev; in ip6_route_dev_notify()
6625 init_net.ipv6.fib6_null_entry->fib6_nh->fib_nh_dev = init_net.loopback_dev; in ip6_route_init_special_entries()