incubator-nuttx/net/tcp
chao.an 0636c17a63 net/tcp: wave hands on background
The time consuming of tcp waving hands(close(2)) will be affected
by network jitter, especially the wireless device cannot receive
the last-ack under worst environment, in this change we move the
tcp close callback into background and invoke the resource free
from workqueue, which will avoid the user application from being
blocked for a long time and unable to return in the call of close

Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-09 18:19:25 +03:00
..
Kconfig Change dpends on SCHED_[L|H]PWORK to SCHED_WORKQUEUE 2022-05-28 18:41:51 +03:00
Make.defs net: fix the build when CONFIG_NET_TCP_WRITE_BUFFERS is not enabled 2022-05-18 07:54:17 +09:00
tcp.h net/tcp: wave hands on background 2022-06-09 18:19:25 +03:00
tcp_accept.c net/inet: move socket flags into socket_conn_s 2022-02-10 15:04:33 -03:00
tcp_appsend.c net/tcp/sendfile: retransmit only one the earliest not acknowledged segment 2022-01-20 18:37:39 +08:00
tcp_backlog.c
tcp_callback.c net/tcp: replace the common connect prologue 2022-02-10 15:04:33 -03:00
tcp_close.c net/tcp: wave hands on background 2022-06-09 18:19:25 +03:00
tcp_conn.c tcp: move wd_timer from wifi driver to tcp stack 2022-05-28 16:29:51 +08:00
tcp_connect.c net/tcp: remove the socket hook reference from netdev callback 2022-02-10 15:04:33 -03:00
tcp_devpoll.c tcp: move wd_timer from wifi driver to tcp stack 2022-05-28 16:29:51 +08:00
tcp_dump.c net: fix the build when CONFIG_NET_TCP_WRITE_BUFFERS is not enabled 2022-05-18 07:54:17 +09:00
tcp_finddev.c
tcp_getsockopt.c net/tcp: Use the relative value for keep alive timer 2022-05-18 18:40:41 +03:00
tcp_input.c tcp: move wd_timer from wifi driver to tcp stack 2022-05-28 16:29:51 +08:00
tcp_ioctl.c net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00
tcp_ipselect.c
tcp_listen.c net/tcp: Remove tcp_listen_initialize 2022-03-12 19:24:17 +02:00
tcp_monitor.c net/tcp/monitor: do not migrate the state to close 2022-02-11 18:56:40 +09:00
tcp_netpoll.c net/tcp: remove the socket hook reference from netdev callback 2022-02-10 15:04:33 -03:00
tcp_notifier.c sched/wqueue: Change the return type of work_notifier_teardown to void 2022-05-14 00:35:29 +03:00
tcp_recvfrom.c net/tcp: remove the socket hook reference from netdev callback 2022-02-10 15:04:33 -03:00
tcp_recvwindow.c
tcp_send.c net: unify FAR keyword usage for all net buffer memory mapped buffers 2022-01-20 01:42:56 +08:00
tcp_send_buffered.c net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00
tcp_send_unbuffered.c tcp: added debug asserts and logging to investigate the rare (conn->dev == NULL) bug in callback handlers 2022-02-26 11:48:07 -03:00
tcp_sendfile.c tcp: added debug asserts and logging to investigate the rare (conn->dev == NULL) bug in callback handlers 2022-02-26 11:48:07 -03:00
tcp_seqno.c
tcp_setsockopt.c tcp: move wd_timer from wifi driver to tcp stack 2022-05-28 16:29:51 +08:00
tcp_timer.c net/tcp: Search conn list again to aovid the race condition in tcp_timer_expiry 2022-06-07 20:15:41 +03:00
tcp_txdrain.c
tcp_wrbuffer.c net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00