Lines Matching refs:dev_out
2514 struct net_device *dev_out, in __mkroute_output() argument
2524 in_dev = __in_dev_get_rcu(dev_out); in __mkroute_output()
2530 !(dev_out->flags & IFF_LOOPBACK) && in __mkroute_output()
2531 !netif_is_l3_master(dev_out)) in __mkroute_output()
2541 if (dev_out->flags & IFF_LOOPBACK) in __mkroute_output()
2562 (orig_oif != dev_out->ifindex)) { in __mkroute_output()
2602 rth = rt_dst_alloc(dev_out, flags, type, in __mkroute_output()
2614 !(dev_out->flags & IFF_LOOPBACK)) { in __mkroute_output()
2665 struct net_device *dev_out = NULL; in ip_route_output_key_hash_rcu() local
2693 dev_out = __ip_dev_find(net, fl4->saddr, false); in ip_route_output_key_hash_rcu()
2694 if (!dev_out) in ip_route_output_key_hash_rcu()
2712 fl4->flowi4_oif = dev_out->ifindex; in ip_route_output_key_hash_rcu()
2725 dev_out = dev_get_by_index_rcu(net, fl4->flowi4_oif); in ip_route_output_key_hash_rcu()
2727 if (!dev_out) in ip_route_output_key_hash_rcu()
2731 if (!(dev_out->flags & IFF_UP) || !__in_dev_get_rcu(dev_out)) { in ip_route_output_key_hash_rcu()
2739 fl4->saddr = inet_select_addr(dev_out, 0, in ip_route_output_key_hash_rcu()
2745 fl4->saddr = inet_select_addr(dev_out, 0, in ip_route_output_key_hash_rcu()
2748 fl4->saddr = inet_select_addr(dev_out, 0, in ip_route_output_key_hash_rcu()
2757 dev_out = net->loopback_dev; in ip_route_output_key_hash_rcu()
2790 fl4->saddr = inet_select_addr(dev_out, 0, in ip_route_output_key_hash_rcu()
2808 dev_out = l3mdev_master_dev_rcu(FIB_RES_DEV(*res)) ? : in ip_route_output_key_hash_rcu()
2816 fl4->flowi4_oif = dev_out->ifindex; in ip_route_output_key_hash_rcu()
2823 dev_out = FIB_RES_DEV(*res); in ip_route_output_key_hash_rcu()
2826 rth = __mkroute_output(res, fl4, orig_oif, dev_out, flags); in ip_route_output_key_hash_rcu()