Home
last modified time | relevance | path

Searched refs:cork (Results 1 – 25 of 28) sorted by relevance

12

/linux-5.19.10/net/ipv4/ !
Dip_output.c962 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_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()
1034 cork->length += length; in __ip_append_data()
1156 skb_shinfo(skb)->tx_flags = cork->tx_flags; in __ip_append_data()
[all …]
Dtcp_bpf.c279 bool cork = false, enospc = sk_msg_full(msg); in tcp_bpf_send_verdict() local
300 if (!psock->cork) { in tcp_bpf_send_verdict()
301 psock->cork = kzalloc(sizeof(*psock->cork), in tcp_bpf_send_verdict()
303 if (!psock->cork) in tcp_bpf_send_verdict()
306 memcpy(psock->cork, msg, sizeof(*msg)); in tcp_bpf_send_verdict()
332 if (psock->cork) { in tcp_bpf_send_verdict()
333 cork = true; in tcp_bpf_send_verdict()
334 psock->cork = NULL; in tcp_bpf_send_verdict()
348 if (!cork) in tcp_bpf_send_verdict()
351 if (cork) { in tcp_bpf_send_verdict()
[all …]
Dudp.c893 struct inet_cork *cork) in udp_send_skb() argument
914 if (cork->gso_size) { in udp_send_skb()
918 if (hlen + cork->gso_size > cork->fragsize) { in udp_send_skb()
922 if (datalen > cork->gso_size * UDP_MAX_SEGMENTS) { in udp_send_skb()
936 if (datalen > cork->gso_size) { in udp_send_skb()
937 skb_shinfo(skb)->gso_size = cork->gso_size; in udp_send_skb()
940 cork->gso_size); in udp_send_skb()
989 struct flowi4 *fl4 = &inet->cork.fl.u.ip4; in udp_push_pending_frames()
997 err = udp_send_skb(skb, fl4, &inet->cork.base); in udp_push_pending_frames()
1076 fl4 = &inet->cork.fl.u.ip4; in udp_sendmsg()
[all …]
Ddatagram.c46 fl4 = &inet->cork.fl.u.ip4; in __ip4_datagram_connect()
Dinet_connection_sock.c648 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock()
1289 dst = inet_csk_rebuild_route(sk, &inet->cork.fl); in inet_csk_update_pmtu()
1297 dst = inet_csk_rebuild_route(sk, &inet->cork.fl); in inet_csk_update_pmtu()
Dsyncookies.c454 inet_sk(ret)->cork.fl.u.ip4 = fl4; in cookie_v4_check()
Daf_inet.c1235 fl4 = &inet->cork.fl.u.ip4; in inet_sk_reselect_saddr()
1287 fl4 = &inet->cork.fl.u.ip4; in inet_sk_rebuild_header()
/linux-5.19.10/net/ipv6/ !
Dip6_output.c1372 static int ip6_setup_cork(struct sock *sk, struct inet_cork_full *cork, in ip6_setup_cork() argument
1383 cork->base.dst = &rt->dst; in ip6_setup_cork()
1430 cork->base.fragsize = mtu; in ip6_setup_cork()
1431 cork->base.gso_size = ipc6->gso_size; in ip6_setup_cork()
1432 cork->base.tx_flags = 0; in ip6_setup_cork()
1433 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork()
1434 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
1437 cork->base.flags |= IPCORK_ALLFRAG; in ip6_setup_cork()
1438 cork->base.length = 0; in ip6_setup_cork()
1440 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork()
[all …]
Dudp.c1192 struct inet_cork *cork) in udp_v6_send_skb() argument
1212 if (cork->gso_size) { in udp_v6_send_skb()
1216 if (hlen + cork->gso_size > cork->fragsize) { in udp_v6_send_skb()
1220 if (datalen > cork->gso_size * UDP_MAX_SEGMENTS) { in udp_v6_send_skb()
1234 if (datalen > cork->gso_size) { in udp_v6_send_skb()
1235 skb_shinfo(skb)->gso_size = cork->gso_size; in udp_v6_send_skb()
1238 cork->gso_size); in udp_v6_send_skb()
1289 err = udp_v6_send_skb(skb, &inet_sk(sk)->cork.fl.u.ip6, in udp_v6_push_pending_frames()
1290 &inet_sk(sk)->cork.base); in udp_v6_push_pending_frames()
1308 struct inet_cork_full cork; in udpv6_sendmsg() local
[all …]
Draw.c524 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames()
/linux-5.19.10/include/linux/ !
Dskmsg.h85 struct sk_msg *cork; member
420 if (psock->cork) { in sk_psock_cork_free()
421 sk_msg_free(psock->sk, psock->cork); in sk_psock_cork_free()
422 kfree(psock->cork); in sk_psock_cork_free()
423 psock->cork = NULL; in sk_psock_cork_free()
Dipv6.h298 struct inet6_cork cork; member
/linux-5.19.10/include/net/ !
Dip.h227 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()
Dipv6.h1077 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()
Dinet_sock.h251 struct inet_cork_full cork; member
/linux-5.19.10/net/l2tp/ !
Dl2tp_ip.c460 fl4 = &inet->cork.fl.u.ip4; in l2tp_ip_sendmsg()
500 rc = ip_queue_xmit(sk, skb, &inet->cork.fl); in l2tp_ip_sendmsg()
Dl2tp_core.c1095 ret = l2tp_xmit_queue(tunnel, skb, &inet->cork.fl); in l2tp_xmit_core()
/linux-5.19.10/net/mptcp/ !
Dsockopt.c635 msk->cork = !!val; in mptcp_setsockopt_sol_tcp_cork()
1165 return mptcp_put_int_option(msk, optval, optlen, msk->cork); in mptcp_getsockopt_sol_tcp()
1270 __tcp_sock_set_cork(ssk, !!msk->cork); in sync_socket_options()
Dprotocol.h287 cork:1, member
/linux-5.19.10/net/sctp/ !
Doutqueue.c312 if (!q->cork) in sctp_outq_tail()
758 if (q->cork) in sctp_outq_uncork()
759 q->cork = 0; in sctp_outq_uncork()
Dsm_sideeffect.c1474 if (!asoc->outqueue.cork) { in sctp_cmd_interpreter()
1773 if (!asoc->outqueue.cork) { in sctp_cmd_interpreter()
/linux-5.19.10/include/net/sctp/ !
Dstructs.h1115 char cork; member
1136 q->cork = 1; in sctp_outq_cork()
/linux-5.19.10/drivers/block/drbd/ !
Ddrbd_worker.c2081 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-5.19.10/net/dccp/ !
Doutput.c138 err = icsk->icsk_af_ops->queue_xmit(sk, skb, &inet->cork.fl); in dccp_transmit_skb()
Dipv4.c77 fl4 = &inet->cork.fl.u.ip4; in dccp_v4_connect()

12