Lines Matching refs:fl4
391 static struct rtable *ip4_route_output_gtp(struct flowi4 *fl4, in ip4_route_output_gtp() argument
395 memset(fl4, 0, sizeof(*fl4)); in ip4_route_output_gtp()
396 fl4->flowi4_oif = sk->sk_bound_dev_if; in ip4_route_output_gtp()
397 fl4->daddr = daddr; in ip4_route_output_gtp()
398 fl4->saddr = inet_sk(sk)->inet_saddr; in ip4_route_output_gtp()
399 fl4->flowi4_tos = RT_CONN_FLAGS(sk); in ip4_route_output_gtp()
400 fl4->flowi4_proto = sk->sk_protocol; in ip4_route_output_gtp()
402 return ip_route_output_key(sock_net(sk), fl4); in ip4_route_output_gtp()
448 struct flowi4 fl4; member
472 struct flowi4 *fl4, in gtp_set_pktinfo_ipv4() argument
479 pktinfo->fl4 = *fl4; in gtp_set_pktinfo_ipv4()
489 struct flowi4 fl4; in gtp_build_skb_ip4() local
510 rt = ip4_route_output_gtp(&fl4, pctx->sk, pctx->peer_addr_ip4.s_addr); in gtp_build_skb_ip4()
552 gtp_set_pktinfo_ipv4(pktinfo, pctx->sk, iph, pctx, rt, &fl4, dev); in gtp_build_skb_ip4()
594 pktinfo.fl4.saddr, pktinfo.fl4.daddr, in gtp_dev_xmit()