Home
last modified time | relevance | path

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

12

/linux/net/ipv4/
A Dip_output.c974 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 Dtcp_bpf.c275 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 Dudp.c890 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 Ddatagram.c46 fl4 = &inet->cork.fl.u.ip4; in __ip4_datagram_connect()
A Dinet_connection_sock.c644 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 Dsyncookies.c447 inet_sk(ret)->cork.fl.u.ip4 = fl4; in cookie_v4_check()
A Daf_inet.c1236 fl4 = &inet->cork.fl.u.ip4; in inet_sk_reselect_saddr()
1288 fl4 = &inet->cork.fl.u.ip4; in inet_sk_rebuild_header()
A Dtcp_ipv4.c228 fl4 = &inet->cork.fl.u.ip4; in tcp_v4_connect()
/linux/net/ipv6/
A Dip6_output.c1398 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 Dudp.c1180 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 Draw.c558 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames()
/linux/include/linux/
A Dskmsg.h86 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 Dipv6.h296 struct inet6_cork cork; member
/linux/include/net/
A Dip.h226 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 Dipv6.h1015 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 Dinet_sock.h238 struct inet_cork_full cork; member
/linux/net/l2tp/
A Dl2tp_ip.c458 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 Dl2tp_core.c1095 ret = l2tp_xmit_queue(tunnel, skb, &inet->cork.fl); in l2tp_xmit_core()
/linux/net/sctp/
A Doutqueue.c312 if (!q->cork) in sctp_outq_tail()
755 if (q->cork) in sctp_outq_uncork()
756 q->cork = 0; in sctp_outq_uncork()
A Dsm_sideeffect.c1470 if (!asoc->outqueue.cork) { in sctp_cmd_interpreter()
1769 if (!asoc->outqueue.cork) { in sctp_cmd_interpreter()
/linux/include/net/sctp/
A Dstructs.h1116 char cork; member
1137 q->cork = 1; in sctp_outq_cork()
/linux/drivers/block/drbd/
A Ddrbd_worker.c2086 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 Doutput.c138 err = icsk->icsk_af_ops->queue_xmit(sk, skb, &inet->cork.fl); in dccp_transmit_skb()
A Dipv4.c77 fl4 = &inet->cork.fl.u.ip4; in dccp_v4_connect()
/linux/Documentation/networking/
A Dtimestamping.rst317 skbuff as a result of Nagle, cork, autocork, segmentation and GSO. The

Completed in 102 milliseconds

12