Lines Matching refs:fl4

795 				       struct flowi4 *fl4,  in geneve_get_v4_rt()  argument
809 memset(fl4, 0, sizeof(*fl4)); in geneve_get_v4_rt()
810 fl4->flowi4_mark = skb->mark; in geneve_get_v4_rt()
811 fl4->flowi4_proto = IPPROTO_UDP; in geneve_get_v4_rt()
812 fl4->daddr = info->key.u.ipv4.dst; in geneve_get_v4_rt()
813 fl4->saddr = info->key.u.ipv4.src; in geneve_get_v4_rt()
814 fl4->fl4_dport = dport; in geneve_get_v4_rt()
815 fl4->fl4_sport = sport; in geneve_get_v4_rt()
816 fl4->flowi4_flags = info->key.flow_flags; in geneve_get_v4_rt()
823 fl4->flowi4_tos = RT_TOS(tos); in geneve_get_v4_rt()
829 rt = dst_cache_get_ip4(dst_cache, &fl4->saddr); in geneve_get_v4_rt()
833 rt = ip_route_output_key(geneve->net, fl4); in geneve_get_v4_rt()
835 netdev_dbg(dev, "no route to %pI4\n", &fl4->daddr); in geneve_get_v4_rt()
839 netdev_dbg(dev, "circular route to %pI4\n", &fl4->daddr); in geneve_get_v4_rt()
844 dst_cache_set_ip4(dst_cache, &rt->dst, fl4->saddr); in geneve_get_v4_rt()
912 struct flowi4 fl4; in geneve_xmit_skb() local
923 rt = geneve_get_v4_rt(skb, dev, gs4, &fl4, info, in geneve_xmit_skb()
947 unclone->key.u.ipv4.dst = fl4.saddr; in geneve_xmit_skb()
948 unclone->key.u.ipv4.src = fl4.daddr; in geneve_xmit_skb()
996 udp_tunnel_xmit_skb(rt, gs4->sock->sk, skb, fl4.saddr, fl4.daddr, in geneve_xmit_skb()
1145 struct flowi4 fl4; in geneve_fill_metadata_dst() local
1151 rt = geneve_get_v4_rt(skb, dev, gs4, &fl4, info, in geneve_fill_metadata_dst()
1157 info->key.u.ipv4.src = fl4.saddr; in geneve_fill_metadata_dst()
1633 struct flowi4 fl4 = { .daddr = info->key.u.ipv4.dst }; in geneve_link_config() local
1634 struct rtable *rt = ip_route_output_key(geneve->net, &fl4); in geneve_link_config()