nuttx-update/net/tcp
Zhe Weng 1fe07d0838 net: Add buffer pool to replace connection allocation
Our net socket connection allocations are powerful but redundant
because they're implemented once in each protocol.  This is not good for
further optimizing and extending to other allocations, so maybe we can
add a common implementation for the usage.

Impact:
1. We add a `struct net_bufpool_s` as pool descriptor, which may use a
   little bit more memory than previous implementation (~28Bytes).
2. We share same functions between pools, so code size may shrink under
   some scenarios.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-12-23 16:57:19 -03:00
..
CMakeLists.txt net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
Kconfig tcp:set NET_TCP_NPOLLWAITERS default value to 2 & add warning of different events having same event bit 2024-11-03 02:55:02 +08:00
Make.defs net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp.h net: Move NET_TCP/UDP_HAVE_STACK to netconfig.h 2024-11-21 23:07:30 +08:00
tcp_accept.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_appsend.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_backlog.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_callback.c tcp/tls: fix tcp tls bugs 2024-11-21 00:23:01 +08:00
tcp_cc.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_close.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_conn.c net: Add buffer pool to replace connection allocation 2024-12-23 16:57:19 -03:00
tcp_connect.c tcp/tls: fix tcp tls bugs 2024-11-21 00:23:01 +08:00
tcp_devpoll.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_dump.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_finddev.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_getsockopt.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_input.c tcp_input: if tcp->req > recvreq, send ack only when state is TCP_ESTABLISHED 2024-10-31 15:31:01 +08:00
tcp_ioctl.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_ipselect.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_listen.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_monitor.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_netpoll.c net: Remove the DEBUGASSERT of the same event of the same fd in tcp_pollsetup. 2024-12-23 19:41:13 +08:00
tcp_notifier.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_recvfrom.c tcp_recvfrom.c:malloc a new iob to handle psock_send_eventhandler when tcp_recvhandler calls tcp_newdata to clear dev->d_iob 2024-12-22 19:26:04 +08:00
tcp_recvwindow.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_send.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_send_buffered.c tcp/tls: fix tcp tls bugs 2024-11-21 00:23:01 +08:00
tcp_send_unbuffered.c tcp/tls: fix tcp tls bugs 2024-11-21 00:23:01 +08:00
tcp_sendfile.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_seqno.c libc: Refine the arc4random_buf implementation 2024-10-26 18:04:21 -03:00
tcp_setsockopt.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_shutdown.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_timer.c net/tcp_timer: fix tcp RTO abnormally large after retransmission occurs 2024-12-10 22:00:55 +08:00
tcp_txdrain.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
tcp_wrbuffer.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00