Lines Matching refs:dev_out
2188 struct net_device *dev_out, in __mkroute_output() argument
2198 in_dev = __in_dev_get_rcu(dev_out); in __mkroute_output()
2204 !(dev_out->flags & IFF_LOOPBACK) && in __mkroute_output()
2205 !netif_is_l3_master(dev_out)) in __mkroute_output()
2215 if (dev_out->flags & IFF_LOOPBACK) in __mkroute_output()
2236 (orig_oif != dev_out->ifindex)) { in __mkroute_output()
2276 rth = rt_dst_alloc(dev_out, flags, type, in __mkroute_output()
2289 !(dev_out->flags & IFF_LOOPBACK)) { in __mkroute_output()
2343 struct net_device *dev_out = NULL; in ip_route_output_key_hash_rcu() local
2368 dev_out = __ip_dev_find(net, fl4->saddr, false); in ip_route_output_key_hash_rcu()
2369 if (!dev_out) in ip_route_output_key_hash_rcu()
2387 fl4->flowi4_oif = dev_out->ifindex; in ip_route_output_key_hash_rcu()
2400 dev_out = dev_get_by_index_rcu(net, fl4->flowi4_oif); in ip_route_output_key_hash_rcu()
2402 if (!dev_out) in ip_route_output_key_hash_rcu()
2406 if (!(dev_out->flags & IFF_UP) || !__in_dev_get_rcu(dev_out)) { in ip_route_output_key_hash_rcu()
2414 fl4->saddr = inet_select_addr(dev_out, 0, in ip_route_output_key_hash_rcu()
2420 fl4->saddr = inet_select_addr(dev_out, 0, in ip_route_output_key_hash_rcu()
2423 fl4->saddr = inet_select_addr(dev_out, 0, in ip_route_output_key_hash_rcu()
2432 dev_out = net->loopback_dev; in ip_route_output_key_hash_rcu()
2465 fl4->saddr = inet_select_addr(dev_out, 0, in ip_route_output_key_hash_rcu()
2483 dev_out = l3mdev_master_dev_rcu(FIB_RES_DEV(*res)) ? : in ip_route_output_key_hash_rcu()
2491 fl4->flowi4_oif = dev_out->ifindex; in ip_route_output_key_hash_rcu()
2498 dev_out = FIB_RES_DEV(*res); in ip_route_output_key_hash_rcu()
2499 fl4->flowi4_oif = dev_out->ifindex; in ip_route_output_key_hash_rcu()
2503 rth = __mkroute_output(res, fl4, orig_oif, dev_out, flags); in ip_route_output_key_hash_rcu()