Lines Matching refs:fl4
292 struct flowi4 fl4; in ip_tunnel_bind_dev() local
295 ip_tunnel_init_flow(&fl4, iph->protocol, iph->daddr, in ip_tunnel_bind_dev()
299 rt = ip_route_output_key(tunnel->net, &fl4); in ip_tunnel_bind_dev()
552 struct flowi4 fl4; in ip_md_tunnel_xmit() local
571 ip_tunnel_init_flow(&fl4, proto, key->u.ipv4.dst, key->u.ipv4.src, in ip_md_tunnel_xmit()
579 rt = dst_cache_get_ip4(&tun_info->dst_cache, &fl4.saddr); in ip_md_tunnel_xmit()
581 rt = ip_route_output_key(tunnel->net, &fl4); in ip_md_tunnel_xmit()
588 fl4.saddr); in ip_md_tunnel_xmit()
623 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, proto, tos, ttl, in ip_md_tunnel_xmit()
645 struct flowi4 fl4; in ip_tunnel_xmit() local
728 ip_tunnel_init_flow(&fl4, protocol, dst, tnl_params->saddr, in ip_tunnel_xmit()
732 if (ip_tunnel_encap(skb, tunnel, &protocol, &fl4) < 0) in ip_tunnel_xmit()
739 &fl4.saddr); in ip_tunnel_xmit()
742 &fl4.saddr) : NULL; in ip_tunnel_xmit()
746 rt = ip_route_output_key(tunnel->net, &fl4); in ip_tunnel_xmit()
754 fl4.saddr); in ip_tunnel_xmit()
757 fl4.saddr); in ip_tunnel_xmit()
810 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, in ip_tunnel_xmit()