/linux/net/ipv4/ |
A D | ip_output.c | 974 mtu = cork->gso_size ? IP_MAX_MTU : cork->fragsize; in __ip_append_data() 1266 cork->length = 0; in ip_setup_cork() 1338 cork = &inet->cork.base; in ip_append_page() 1341 opt = cork->opt; in ip_append_page() 1347 mtu = cork->gso_size ? IP_MAX_MTU : cork->fragsize; in ip_append_page() 1448 kfree(cork->opt); in ip_cork_release() 1449 cork->opt = NULL; in ip_cork_release() 1451 cork->dst = NULL; in ip_cork_release() 1520 iph->tos = (cork->tos != -1) ? cork->tos : inet->tos; in __ip_make_skb() 1614 cork->flags = 0; in ip_make_skb() [all …]
|
A D | tcp_bpf.c | 275 if (!psock->cork) { in tcp_bpf_send_verdict() 276 psock->cork = kzalloc(sizeof(*psock->cork), in tcp_bpf_send_verdict() 278 if (!psock->cork) in tcp_bpf_send_verdict() 307 if (psock->cork) { in tcp_bpf_send_verdict() 308 cork = true; in tcp_bpf_send_verdict() 309 psock->cork = NULL; in tcp_bpf_send_verdict() 323 if (!cork) in tcp_bpf_send_verdict() 326 if (cork) { in tcp_bpf_send_verdict() 387 if (psock->cork) { in tcp_bpf_sendmsg() 458 if (psock->cork) { in tcp_bpf_sendpage() [all …]
|
A D | udp.c | 890 struct inet_cork *cork) in udp_send_skb() argument 911 if (cork->gso_size) { in udp_send_skb() 915 if (hlen + cork->gso_size > cork->fragsize) { in udp_send_skb() 933 if (datalen > cork->gso_size) { in udp_send_skb() 937 cork->gso_size); in udp_send_skb() 986 struct flowi4 *fl4 = &inet->cork.fl.u.ip4; in udp_push_pending_frames() 1073 fl4 = &inet->cork.fl.u.ip4; in udp_sendmsg() 1246 struct inet_cork cork; in udp_sendmsg() local 1250 &cork, msg->msg_flags); in udp_sendmsg() 1253 err = udp_send_skb(skb, fl4, &cork); in udp_sendmsg() [all …]
|
A D | datagram.c | 46 fl4 = &inet->cork.fl.u.ip4; in __ip4_datagram_connect()
|
A D | inet_connection_sock.c | 644 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock() 1284 dst = inet_csk_rebuild_route(sk, &inet->cork.fl); in inet_csk_update_pmtu() 1292 dst = inet_csk_rebuild_route(sk, &inet->cork.fl); in inet_csk_update_pmtu()
|
A D | syncookies.c | 447 inet_sk(ret)->cork.fl.u.ip4 = fl4; in cookie_v4_check()
|
A D | af_inet.c | 1236 fl4 = &inet->cork.fl.u.ip4; in inet_sk_reselect_saddr() 1288 fl4 = &inet->cork.fl.u.ip4; in inet_sk_rebuild_header()
|
A D | tcp_ipv4.c | 228 fl4 = &inet->cork.fl.u.ip4; in tcp_v4_connect()
|
/linux/net/ipv6/ |
A D | ip6_output.c | 1398 cork->fl.u.ip6 = *fl6; in ip6_setup_cork() 1421 cork->base.length = 0; in ip6_setup_cork() 1463 mtu = cork->gso_size ? IP6_MAX_MTU : cork->fragsize; in __ip6_append_data() 1686 cork->tx_flags = 0; in __ip6_append_data() 1791 err = ip6_setup_cork(sk, &inet->cork, &np->cork, in ip6_append_data() 1822 if (cork->base.dst) { in ip6_cork_release() 1827 memset(&cork->fl, 0, sizeof(cork->fl)); in ip6_cork_release() 1956 &inet_sk(sk)->cork, &inet6_sk(sk)->cork); in ip6_flush_pending_frames() 1978 cork->base.flags = 0; in ip6_make_skb() 1979 cork->base.addr = 0; in ip6_make_skb() [all …]
|
A D | udp.c | 1180 struct inet_cork *cork) in udp_v6_send_skb() argument 1200 if (cork->gso_size) { in udp_v6_send_skb() 1204 if (hlen + cork->gso_size > cork->fragsize) { in udp_v6_send_skb() 1208 if (datalen > cork->gso_size * UDP_MAX_SEGMENTS) { in udp_v6_send_skb() 1222 if (datalen > cork->gso_size) { in udp_v6_send_skb() 1223 skb_shinfo(skb)->gso_size = cork->gso_size; in udp_v6_send_skb() 1226 cork->gso_size); in udp_v6_send_skb() 1277 fl6 = inet_sk(sk)->cork.fl.u.ip6; in udp_v6_push_pending_frames() 1539 struct inet_cork_full cork; in udpv6_sendmsg() local 1545 msg->msg_flags, &cork); in udpv6_sendmsg() [all …]
|
A D | raw.c | 558 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames()
|
/linux/include/linux/ |
A D | skmsg.h | 86 struct sk_msg *cork; member 430 if (psock->cork) { in sk_psock_cork_free() 431 sk_msg_free(psock->sk, psock->cork); in sk_psock_cork_free() 432 kfree(psock->cork); in sk_psock_cork_free() 433 psock->cork = NULL; in sk_psock_cork_free()
|
A D | ipv6.h | 296 struct inet6_cork cork; member
|
/linux/include/net/ |
A D | ip.h | 226 struct inet_cork *cork); 235 struct inet_cork *cork, unsigned int flags); 241 return __ip_make_skb(sk, fl4, &sk->sk_write_queue, &inet_sk(sk)->cork.base); in ip_finish_skb()
|
A D | ipv6.h | 1015 struct inet_cork_full *cork, 1023 struct inet_cork_full *cork); 1027 return __ip6_make_skb(sk, &sk->sk_write_queue, &inet_sk(sk)->cork, in ip6_finish_skb() 1028 &inet6_sk(sk)->cork); in ip6_finish_skb()
|
A D | inet_sock.h | 238 struct inet_cork_full cork; member
|
/linux/net/l2tp/ |
A 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()
|
A D | l2tp_core.c | 1095 ret = l2tp_xmit_queue(tunnel, skb, &inet->cork.fl); in l2tp_xmit_core()
|
/linux/net/sctp/ |
A D | outqueue.c | 312 if (!q->cork) in sctp_outq_tail() 755 if (q->cork) in sctp_outq_uncork() 756 q->cork = 0; in sctp_outq_uncork()
|
A D | sm_sideeffect.c | 1470 if (!asoc->outqueue.cork) { in sctp_cmd_interpreter() 1769 if (!asoc->outqueue.cork) { in sctp_cmd_interpreter()
|
/linux/include/net/sctp/ |
A D | structs.h | 1116 char cork; member 1137 q->cork = 1; in sctp_outq_cork()
|
/linux/drivers/block/drbd/ |
A D | drbd_worker.c | 2086 int uncork, cork; in wait_for_work() local 2155 cork = nc ? nc->tcp_cork : 0; in wait_for_work() 2159 if (cork) in wait_for_work()
|
/linux/net/dccp/ |
A D | output.c | 138 err = icsk->icsk_af_ops->queue_xmit(sk, skb, &inet->cork.fl); in dccp_transmit_skb()
|
A D | ipv4.c | 77 fl4 = &inet->cork.fl.u.ip4; in dccp_v4_connect()
|
/linux/Documentation/networking/ |
A D | timestamping.rst | 317 skbuff as a result of Nagle, cork, autocork, segmentation and GSO. The
|