zephyr/subsys/net
Shrek Wang 6e7756a542 net: tcp: Change SYN FIN to use send_data_timer
The send_queue was used as SYN/FIN packet retransmission. Before
the SYN/FIN being ACKed and dequeue-ed, the following packets in
the send_queue cannot be sent out. That's why Zephyr had to send
a FIN+ACK instead of a duplicated ACK-only in FINWAIT1, CLOSING.
In fact, we can take SYN/FIN as kind of data and use the same
send_data_timer for retransmission, like other OSes do. This way,
the send_queue is simply used for local traffics.
Benefits (in theory):
1. The code is easier,
2. TxPkt performance is better after skipping enq/deq send_queue,
3. The struct tcp{} node is a few bytes smaller, saving memory.

Signed-off-by: Shrek Wang <inet_eman@outlook.com>
2025-06-02 13:30:19 +02:00
..
conn_mgr net: conn_mgr: Fix disconnect with CONN_MGR_IF_NO_AUTO_DOWN unset 2025-05-19 16:37:07 +02:00
ip net: tcp: Change SYN FIN to use send_data_timer 2025-06-02 13:30:19 +02:00
l2 net: wifi: fix the bug by non-wifi network call 2025-05-27 11:51:23 +02:00
lib net: tcp: Change SYN FIN to use send_data_timer 2025-06-02 13:30:19 +02:00
pkt_filter net: pkt_filter: Add VLAN support to filtering 2025-04-16 08:07:34 +02:00
CMakeLists.txt net: silence no sources cmake warning 2024-10-18 14:14:56 +02:00
hostname.c
Kconfig lib: net_buf: move the network buffer implementation to lib 2024-09-07 11:19:05 -05:00
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net net: Give name to logging choice 2024-09-30 12:10:42 +01:00