zephyr/subsys/net/lib
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
..
capture net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
coap net: lib: coap: Return an error on removing a non-existing observer 2025-05-30 10:28:02 +02:00
config net: config: init: sntp: use connection manager 2025-05-10 13:02:21 +02:00
dhcpv4 logging: backend: net: use connection mgr 2025-05-10 13:02:21 +02:00
dhcpv6 net: dhcpv6: Add support for DNS Recursive Name Server option 2025-02-12 20:19:26 +01:00
dns net: dns: dispatcher: fix OOB array access 2025-05-14 14:11:11 +02:00
http net: http: client: Allow to abort download from response callback 2025-05-23 17:20:24 +02:00
lwm2m samples: net: lwm2m: depend on xsi single process for gettimeofday() 2025-05-15 09:04:08 +02:00
mqtt net: mqtt: Improve disconnect error notification for MQTT 5.0 2025-03-26 16:19:42 +01:00
mqtt_sn net: mqtt-sn: Correct the allowed Keep Alive value range 2025-05-14 14:10:34 +02:00
prometheus
ptp net: ptp: fix infinite loop in pkt frag 2025-05-12 14:54:06 +02:00
shell net: tcp: Change SYN FIN to use send_data_timer 2025-06-02 13:30:19 +02:00
sntp net: lib: sntp: async query API 2025-03-07 19:51:40 +01:00
sockets net: sockets: tls: Add new option to register certificate verify cb 2025-05-22 13:44:43 +02:00
socks
tftp
tls_credentials net: lib: tls_credentials_shell: Fix crash during delete 2025-04-17 17:22:58 +02:00
trickle
utils
websocket net: http: client: Allow to abort download from response callback 2025-05-23 17:20:24 +02:00
wifi_credentials net: lib: Correct the wifi_cred command 2025-04-16 14:53:54 +02:00
zperf net: zperf: Make UDP upload report retransmission count configurable 2025-05-23 17:20:10 +02:00
CMakeLists.txt
Kconfig net: Add option for VPN enablement 2025-03-28 21:51:57 +01:00