Searched refs:cork (Results 1 – 18 of 18) sorted by relevance
/net/ipv4/ |
D | ip_output.c | 962 struct inet_cork *cork, in __ip_append_data() argument 973 struct ip_options *opt = cork->opt; in __ip_append_data() 982 struct rtable *rt = (struct rtable *)cork->dst; in __ip_append_data() 990 mtu = cork->gso_size ? IP_MAX_MTU : cork->fragsize; in __ip_append_data() 991 paged = !!cork->gso_size; in __ip_append_data() 993 if (cork->tx_flags & SKBTX_ANY_TSTAMP && in __ip_append_data() 1003 if (cork->length + length > maxnonfragsize - fragheaderlen) { in __ip_append_data() 1016 (!(flags & MSG_MORE) || cork->gso_size) && in __ip_append_data() 1034 cork->length += length; in __ip_append_data() 1156 skb_shinfo(skb)->tx_flags = cork->tx_flags; in __ip_append_data() [all …]
|
D | tcp_bpf.c | 289 bool cork = false, enospc = sk_msg_full(msg), redir_ingress; in tcp_bpf_send_verdict() local 310 if (!psock->cork) { in tcp_bpf_send_verdict() 311 psock->cork = kzalloc(sizeof(*psock->cork), in tcp_bpf_send_verdict() 313 if (!psock->cork) in tcp_bpf_send_verdict() 316 memcpy(psock->cork, msg, sizeof(*msg)); in tcp_bpf_send_verdict() 344 if (psock->cork) { in tcp_bpf_send_verdict() 345 cork = true; in tcp_bpf_send_verdict() 346 psock->cork = NULL; in tcp_bpf_send_verdict() 363 if (!cork) in tcp_bpf_send_verdict() 366 if (cork) { in tcp_bpf_send_verdict() [all …]
|
D | udp.c | 904 struct inet_cork *cork) in udp_send_skb() argument 925 if (cork->gso_size) { in udp_send_skb() 929 if (hlen + cork->gso_size > cork->fragsize) { in udp_send_skb() 933 if (datalen > cork->gso_size * UDP_MAX_SEGMENTS) { in udp_send_skb() 947 if (datalen > cork->gso_size) { in udp_send_skb() 948 skb_shinfo(skb)->gso_size = cork->gso_size; in udp_send_skb() 951 cork->gso_size); in udp_send_skb() 1000 struct flowi4 *fl4 = &inet->cork.fl.u.ip4; in udp_push_pending_frames() 1008 err = udp_send_skb(skb, fl4, &inet->cork.base); in udp_push_pending_frames() 1088 fl4 = &inet->cork.fl.u.ip4; in udp_sendmsg() [all …]
|
D | datagram.c | 47 fl4 = &inet->cork.fl.u.ip4; in __ip4_datagram_connect()
|
D | inet_connection_sock.c | 652 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock() 1309 dst = inet_csk_rebuild_route(sk, &inet->cork.fl); in inet_csk_update_pmtu() 1317 dst = inet_csk_rebuild_route(sk, &inet->cork.fl); in inet_csk_update_pmtu()
|
D | syncookies.c | 449 inet_sk(ret)->cork.fl.u.ip4 = fl4; in cookie_v4_check()
|
D | af_inet.c | 1249 fl4 = &inet->cork.fl.u.ip4; in inet_sk_reselect_saddr() 1301 fl4 = &inet->cork.fl.u.ip4; in inet_sk_rebuild_header()
|
D | tcp_ipv4.c | 230 fl4 = &inet->cork.fl.u.ip4; in tcp_v4_connect()
|
D | tcp_output.c | 1404 sk, skb, &inet->cork.fl); in __tcp_transmit_skb()
|
/net/ipv6/ |
D | ip6_output.c | 1374 static int ip6_setup_cork(struct sock *sk, struct inet_cork_full *cork, in ip6_setup_cork() argument 1420 cork->base.dst = &rt->dst; in ip6_setup_cork() 1421 cork->fl.u.ip6 = *fl6; in ip6_setup_cork() 1434 cork->base.fragsize = mtu; in ip6_setup_cork() 1435 cork->base.gso_size = ipc6->gso_size; in ip6_setup_cork() 1436 cork->base.tx_flags = 0; in ip6_setup_cork() 1437 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork() 1438 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork() 1441 cork->base.flags |= IPCORK_ALLFRAG; in ip6_setup_cork() 1442 cork->base.length = 0; in ip6_setup_cork() [all …]
|
D | udp.c | 1212 struct inet_cork *cork) in udp_v6_send_skb() argument 1232 if (cork->gso_size) { in udp_v6_send_skb() 1236 if (hlen + cork->gso_size > cork->fragsize) { in udp_v6_send_skb() 1240 if (datalen > cork->gso_size * UDP_MAX_SEGMENTS) { in udp_v6_send_skb() 1254 if (datalen > cork->gso_size) { in udp_v6_send_skb() 1255 skb_shinfo(skb)->gso_size = cork->gso_size; in udp_v6_send_skb() 1258 cork->gso_size); in udp_v6_send_skb() 1309 fl6 = inet_sk(sk)->cork.fl.u.ip6; in udp_v6_push_pending_frames() 1315 err = udp_v6_send_skb(skb, &fl6, &inet_sk(sk)->cork.base); in udp_v6_push_pending_frames() 1573 struct inet_cork_full cork; in udpv6_sendmsg() local [all …]
|
D | raw.c | 559 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames() 560 opt = inet6_sk(sk)->cork.opt; in rawv6_push_pending_frames()
|
/net/l2tp/ |
D | l2tp_ip.c | 458 fl4 = &inet->cork.fl.u.ip4; in l2tp_ip_sendmsg() 498 rc = ip_queue_xmit(sk, skb, &inet->cork.fl); in l2tp_ip_sendmsg()
|
D | l2tp_core.c | 1093 ret = l2tp_xmit_queue(tunnel, skb, &inet->cork.fl); in l2tp_xmit_core()
|
/net/sctp/ |
D | outqueue.c | 312 if (!q->cork) in sctp_outq_tail() 758 if (q->cork) in sctp_outq_uncork() 759 q->cork = 0; in sctp_outq_uncork()
|
D | sm_sideeffect.c | 1477 if (!asoc->outqueue.cork) { in sctp_cmd_interpreter() 1776 if (!asoc->outqueue.cork) { in sctp_cmd_interpreter()
|
/net/dccp/ |
D | output.c | 138 err = icsk->icsk_af_ops->queue_xmit(sk, skb, &inet->cork.fl); in dccp_transmit_skb()
|
D | ipv4.c | 77 fl4 = &inet->cork.fl.u.ip4; in dccp_v4_connect()
|