Lines Matching refs:fib_nh_dev
472 dev = nh->fib_nh_dev; in __rt6_device_match()
632 dev = fib6_nh->fib_nh_dev; in rt6_probe()
684 neigh = __ipv6_neigh_lookup_noref(fib6_nh->fib_nh_dev, in rt6_check_neigh()
711 if (!oif || nh->fib_nh_dev->ifindex == oif) in rt6_score_route()
738 if (ip6_ignore_linkdown(nh->fib_nh_dev) && in find_match()
1006 struct net_device *dev = res->nh->fib_nh_dev; in ip6_rt_get_dev_rcu()
1120 const struct net_device *dev = nh->fib_nh_dev; in ip6_rt_copy_init()
1175 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()
2998 fl6->flowi6_oif != nh->fib_nh_dev->ifindex) in ip6_redirect_nh_match()
3247 struct net_device *dev = nh->fib_nh_dev; in ip6_mtu_from_fib6()
3369 (res.fib6_type != RTN_UNICAST || dev != res.nh->fib_nh_dev)) { in ip6_route_check_nh_onlink()
3397 (dev && dev != res.nh->fib_nh_dev)) in ip6_route_check_nh()
3421 if (dev != res.nh->fib_nh_dev) in ip6_route_check_nh()
3424 *_dev = dev = res.nh->fib_nh_dev; in ip6_route_check_nh()
3630 fib6_nh->fib_nh_dev = dev; in fib6_nh_init()
3833 if (fib6_is_reject(cfg->fc_flags, rt->fib6_nh->fib_nh_dev, in ip6_route_info_create()
3839 struct net_device *dev = fib6_nh->fib_nh_dev; in ip6_route_info_create()
4108 (!nh->fib_nh_dev || in ip6_route_del()
4109 nh->fib_nh_dev->ifindex != cfg->fc_ifindex)) in ip6_route_del()
4297 if (rt->fib6_nh->fib_nh_dev->ifindex != ifindex) in rt6_get_route_info()
4367 if (dev == nh->fib_nh_dev && in rt6_get_dflt_router()
4611 ((void *)rt->fib6_nh->fib_nh_dev == dev || !dev) && in fib6_remove_prefsrc()
4697 ip6_ignore_linkdown(rt->fib6_nh->fib_nh_dev))) in rt6_is_dead()
4772 rt->fib6_nh->fib_nh_dev == arg->dev) { in fib6_ifup()
4802 if (rt->fib6_nh->fib_nh_dev == dev) in rt6_multipath_uses_dev()
4805 if (iter->fib6_nh->fib_nh_dev == dev) in rt6_multipath_uses_dev()
4826 if (rt->fib6_nh->fib_nh_dev == down_dev || in rt6_multipath_dead_count()
4830 if (iter->fib6_nh->fib_nh_dev == down_dev || in rt6_multipath_dead_count()
4843 if (rt->fib6_nh->fib_nh_dev == dev) in rt6_multipath_nh_flags_set()
4846 if (iter->fib6_nh->fib_nh_dev == dev) in rt6_multipath_nh_flags_set()
4862 return rt->fib6_nh->fib_nh_dev == dev ? -1 : 0; in fib6_ifdown()
4867 return rt->fib6_nh->fib_nh_dev == dev ? -1 : 0; in fib6_ifdown()
4883 if (rt->fib6_nh->fib_nh_dev != dev || in fib6_ifdown()
4933 if (nh->fib_nh_dev == arg->dev) { in fib6_nh_mtu_change()
5797 if (nh->fib_nh_dev == dev) in fib6_info_nh_uses_dev()
5814 if (f6i->fib6_nh->fib_nh_dev == dev) in fib6_info_uses_dev()
5822 if (sibling->fib6_nh->fib_nh_dev == dev) in fib6_info_uses_dev()
6288 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()