/linux-6.1.9/net/ipv4/ |
D | ip_output.c | 962 struct inet_cork *cork, in __ip_append_data() argument 972 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_SW_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() 1052 cork->length += length; in __ip_append_data() 1174 skb_shinfo(skb)->tx_flags = cork->tx_flags; in __ip_append_data() [all …]
|
D | tcp_bpf.c | 281 bool cork = false, enospc = sk_msg_full(msg), redir_ingress; in tcp_bpf_send_verdict() local 302 if (!psock->cork) { in tcp_bpf_send_verdict() 303 psock->cork = kzalloc(sizeof(*psock->cork), in tcp_bpf_send_verdict() 305 if (!psock->cork) in tcp_bpf_send_verdict() 308 memcpy(psock->cork, msg, sizeof(*msg)); in tcp_bpf_send_verdict() 336 if (psock->cork) { in tcp_bpf_send_verdict() 337 cork = true; in tcp_bpf_send_verdict() 338 psock->cork = NULL; in tcp_bpf_send_verdict() 355 if (!cork) in tcp_bpf_send_verdict() 358 if (cork) { in tcp_bpf_send_verdict() [all …]
|
D | udp.c | 895 struct inet_cork *cork) in udp_send_skb() argument 916 if (cork->gso_size) { in udp_send_skb() 920 if (hlen + cork->gso_size > cork->fragsize) { in udp_send_skb() 924 if (datalen > cork->gso_size * UDP_MAX_SEGMENTS) { in udp_send_skb() 938 if (datalen > cork->gso_size) { in udp_send_skb() 939 skb_shinfo(skb)->gso_size = cork->gso_size; in udp_send_skb() 942 cork->gso_size); in udp_send_skb() 991 struct flowi4 *fl4 = &inet->cork.fl.u.ip4; in udp_push_pending_frames() 999 err = udp_send_skb(skb, fl4, &inet->cork.base); in udp_push_pending_frames() 1078 fl4 = &inet->cork.fl.u.ip4; in udp_sendmsg() [all …]
|
D | datagram.c | 48 fl4 = &inet->cork.fl.u.ip4; in __ip4_datagram_connect()
|
D | inet_connection_sock.c | 809 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock() 1467 dst = inet_csk_rebuild_route(sk, &inet->cork.fl); in inet_csk_update_pmtu() 1475 dst = inet_csk_rebuild_route(sk, &inet->cork.fl); in inet_csk_update_pmtu()
|
D | syncookies.c | 453 inet_sk(ret)->cork.fl.u.ip4 = fl4; in cookie_v4_check()
|
D | af_inet.c | 1248 fl4 = &inet->cork.fl.u.ip4; in inet_sk_reselect_saddr() 1306 fl4 = &inet->cork.fl.u.ip4; in inet_sk_rebuild_header()
|
/linux-6.1.9/net/ipv6/ |
D | ip6_output.c | 1390 static int ip6_setup_cork(struct sock *sk, struct inet_cork_full *cork, in ip6_setup_cork() argument 1401 cork->base.dst = &rt->dst; in ip6_setup_cork() 1448 cork->base.fragsize = mtu; in ip6_setup_cork() 1449 cork->base.gso_size = ipc6->gso_size; in ip6_setup_cork() 1450 cork->base.tx_flags = 0; in ip6_setup_cork() 1451 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork() 1452 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork() 1455 cork->base.flags |= IPCORK_ALLFRAG; in ip6_setup_cork() 1456 cork->base.length = 0; in ip6_setup_cork() 1458 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork() [all …]
|
D | udp.c | 1220 struct inet_cork *cork) in udp_v6_send_skb() argument 1240 if (cork->gso_size) { in udp_v6_send_skb() 1244 if (hlen + cork->gso_size > cork->fragsize) { in udp_v6_send_skb() 1248 if (datalen > cork->gso_size * UDP_MAX_SEGMENTS) { in udp_v6_send_skb() 1262 if (datalen > cork->gso_size) { in udp_v6_send_skb() 1263 skb_shinfo(skb)->gso_size = cork->gso_size; in udp_v6_send_skb() 1266 cork->gso_size); in udp_v6_send_skb() 1317 err = udp_v6_send_skb(skb, &inet_sk(sk)->cork.fl.u.ip6, in udp_v6_push_pending_frames() 1318 &inet_sk(sk)->cork.base); in udp_v6_push_pending_frames() 1336 struct inet_cork_full cork; in udpv6_sendmsg() local [all …]
|
D | raw.c | 525 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames() 526 opt = inet6_sk(sk)->cork.opt; in rawv6_push_pending_frames()
|
/linux-6.1.9/include/linux/ |
D | skmsg.h | 86 struct sk_msg *cork; member 422 if (psock->cork) { in sk_psock_cork_free() 423 sk_msg_free(psock->sk, psock->cork); in sk_psock_cork_free() 424 kfree(psock->cork); in sk_psock_cork_free() 425 psock->cork = NULL; in sk_psock_cork_free()
|
D | ipv6.h | 298 struct inet6_cork cork; member
|
/linux-6.1.9/include/net/ |
D | ip.h | 227 struct inet_cork *cork); 236 struct inet_cork *cork, unsigned int flags); 242 return __ip_make_skb(sk, fl4, &sk->sk_write_queue, &inet_sk(sk)->cork.base); in ip_finish_skb()
|
D | ipv6.h | 1077 struct inet_cork_full *cork, 1085 struct inet_cork_full *cork); 1089 return __ip6_make_skb(sk, &sk->sk_write_queue, &inet_sk(sk)->cork, in ip6_finish_skb() 1090 &inet6_sk(sk)->cork); in ip6_finish_skb()
|
D | inet_sock.h | 251 struct inet_cork_full cork; member
|
/linux-6.1.9/net/l2tp/ |
D | l2tp_ip.c | 460 fl4 = &inet->cork.fl.u.ip4; in l2tp_ip_sendmsg() 500 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()
|
/linux-6.1.9/net/mptcp/ |
D | sockopt.c | 636 msk->cork = !!val; in mptcp_setsockopt_sol_tcp_cork() 1182 return mptcp_put_int_option(msk, optval, optlen, msk->cork); in mptcp_getsockopt_sol_tcp() 1287 __tcp_sock_set_cork(ssk, !!msk->cork); in sync_socket_options()
|
D | protocol.h | 287 cork:1, member
|
/linux-6.1.9/net/sctp/ |
D | outqueue.c | 312 if (!q->cork) in sctp_outq_tail() 761 if (q->cork) in sctp_outq_uncork() 762 q->cork = 0; in sctp_outq_uncork()
|
D | sm_sideeffect.c | 1474 if (!asoc->outqueue.cork) { in sctp_cmd_interpreter() 1773 if (!asoc->outqueue.cork) { in sctp_cmd_interpreter()
|
/linux-6.1.9/include/net/sctp/ |
D | structs.h | 1115 char cork; member 1136 q->cork = 1; in sctp_outq_cork()
|
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_worker.c | 2081 int uncork, cork; in wait_for_work() local 2150 cork = nc ? nc->tcp_cork : 0; in wait_for_work() 2154 if (cork) in wait_for_work()
|
/linux-6.1.9/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()
|