Lines Matching refs:fl4
447 static void ip_copy_addrs(struct iphdr *iph, const struct flowi4 *fl4) in ip_copy_addrs() argument
449 BUILD_BUG_ON(offsetof(typeof(*fl4), daddr) != in ip_copy_addrs()
450 offsetof(typeof(*fl4), saddr) + sizeof(fl4->saddr)); in ip_copy_addrs()
452 iph->saddr = fl4->saddr; in ip_copy_addrs()
453 iph->daddr = fl4->daddr; in ip_copy_addrs()
463 struct flowi4 *fl4; in __ip_queue_xmit() local
473 fl4 = &fl->u.ip4; in __ip_queue_xmit()
492 rt = ip_route_output_ports(net, fl4, sk, in __ip_queue_xmit()
520 ip_copy_addrs(iph, fl4); in __ip_queue_xmit()
953 struct flowi4 *fl4, in __ip_append_data() argument
993 ip_local_error(sk, EMSGSIZE, fl4->daddr, inet->inet_dport, in __ip_append_data()
1345 int ip_append_data(struct sock *sk, struct flowi4 *fl4, in ip_append_data() argument
1366 return __ip_append_data(sk, fl4, &sk->sk_write_queue, &inet->cork.base, in ip_append_data()
1385 struct flowi4 *fl4, in __ip_make_skb() argument
1451 ip_copy_addrs(iph, fl4); in __ip_make_skb()
1480 !(fl4->flowi4_flags & FLOWI_FLAG_KNOWN_NH)) in __ip_make_skb()
1481 icmp_type = fl4->fl4_icmp_type; in __ip_make_skb()
1507 int ip_push_pending_frames(struct sock *sk, struct flowi4 *fl4) in ip_push_pending_frames() argument
1511 skb = ip_finish_skb(sk, fl4); in ip_push_pending_frames()
1540 struct flowi4 *fl4, in ip_make_skb() argument
1562 err = __ip_append_data(sk, fl4, &queue, cork, in ip_make_skb()
1570 return __ip_make_skb(sk, fl4, &queue, cork); in ip_make_skb()
1598 struct flowi4 fl4; in ip_send_unicast_reply() local
1623 flowi4_init_output(&fl4, oif, in ip_send_unicast_reply()
1631 security_skb_classify_flow(skb, flowi4_to_flowi_common(&fl4)); in ip_send_unicast_reply()
1632 rt = ip_route_output_flow(net, &fl4, sk); in ip_send_unicast_reply()
1641 ipc.sockc.mark = fl4.flowi4_mark; in ip_send_unicast_reply()
1642 err = ip_append_data(sk, &fl4, ip_reply_glue_bits, arg->iov->iov_base, in ip_send_unicast_reply()
1660 ip_push_pending_frames(sk, &fl4); in ip_send_unicast_reply()