Lines Matching refs:fl4
824 static int udp_send_skb(struct sk_buff *skb, struct flowi4 *fl4, in udp_send_skb() argument
842 uh->dest = fl4->fl4_dport; in udp_send_skb()
888 udp4_hwcsum(skb, fl4->saddr, fl4->daddr); in udp_send_skb()
895 uh->check = csum_tcpudp_magic(fl4->saddr, fl4->daddr, len, in udp_send_skb()
921 struct flowi4 *fl4 = &inet->cork.fl.u.ip4; in udp_push_pending_frames() local
925 skb = ip_finish_skb(sk, fl4); in udp_push_pending_frames()
929 err = udp_send_skb(skb, fl4, &inet->cork.base); in udp_push_pending_frames()
981 struct flowi4 *fl4; in udp_sendmsg() local
1008 fl4 = &inet->cork.fl.u.ip4; in udp_sendmsg()
1145 fl4 = &fl4_stack; in udp_sendmsg()
1147 flowi4_init_output(fl4, ipc.oif, ipc.sockc.mark, tos, in udp_sendmsg()
1153 security_sk_classify_flow(sk, flowi4_to_flowi(fl4)); in udp_sendmsg()
1154 rt = ip_route_output_flow(net, fl4, sk); in udp_sendmsg()
1175 saddr = fl4->saddr; in udp_sendmsg()
1177 daddr = ipc.addr = fl4->daddr; in udp_sendmsg()
1183 skb = ip_make_skb(sk, fl4, getfrag, msg, ulen, in udp_sendmsg()
1188 err = udp_send_skb(skb, fl4, &cork); in udp_sendmsg()
1205 fl4 = &inet->cork.fl.u.ip4; in udp_sendmsg()
1206 fl4->daddr = daddr; in udp_sendmsg()
1207 fl4->saddr = saddr; in udp_sendmsg()
1208 fl4->fl4_dport = dport; in udp_sendmsg()
1209 fl4->fl4_sport = inet->inet_sport; in udp_sendmsg()
1214 err = ip_append_data(sk, fl4, getfrag, msg, ulen, in udp_sendmsg()
1247 dst_confirm_neigh(&rt->dst, &fl4->daddr); in udp_sendmsg()