Lines Matching refs:rt6i_dev
160 struct net_device *dev = sprt->rt6i_dev; in rt6_device_match()
194 (sprt->rt6i_dev && in rt6_best_dflt()
195 sprt->rt6i_dev->ifindex == oif)) in rt6_best_dflt()
287 (sprt->rt6i_dev && in rt6_best_dflt()
288 sprt->rt6i_dev->ifindex == oif))) { in rt6_best_dflt()
372 rt->rt6i_nexthop = ndisc_get_neigh(rt->rt6i_dev, &rt->rt6i_gateway); in rt6_cow()
820 if (dev != grt->rt6i_dev) { in ip6_route_add()
825 dev = grt->rt6i_dev; in ip6_route_add()
911 (rt->rt6i_dev == NULL || in ip6_route_del()
912 rt->rt6i_dev->ifindex != rtmsg->rtmsg_ifindex)) in ip6_route_del()
945 if (neigh->dev != rt->rt6i_dev) in rt6_redirect()
1165 if (dev == rt->rt6i_dev && in rt6_get_dflt_router()
1283 rt->rt6i_dev = dev_get_by_name("lo"); in ip6_rt_addr_add()
1284 rt->u.dst.pmtu = ipv6_get_mtu(rt->rt6i_dev); in ip6_rt_addr_add()
1288 rt->rt6i_hoplimit = ipv6_get_hoplimit(rt->rt6i_dev); in ip6_rt_addr_add()
1292 rt->rt6i_nexthop = ndisc_get_neigh(rt->rt6i_dev, &rt->rt6i_gateway); in ip6_rt_addr_add()
1442 if (((void*)rt->rt6i_dev == arg || arg == NULL) && in fib6_ifdown()
1490 if (rt->rt6i_dev == arg->dev && in rt6_mtu_change_route()
1604 else if (rt->rt6i_dev && (rt->rt6i_dev->flags&IFF_LOOPBACK)) in rt6_fill_node()
1645 RTA_PUT(skb, RTA_OIF, sizeof(int), &rt->rt6i_dev->ifindex); in rt6_fill_node()
1942 rt->rt6i_dev ? rt->rt6i_dev->name : ""); in rt6_info_route()