zephyr/subsys/net/lib
Luca Fancellu d61dcf2f1d net: zperf: improve code quality for tcp_received function
Currently, in tcp_received function defined in zperf_tcp_receiver
module, the assignment of session->state to STATE_COMPLETED is
overwritten on the same path to STATE_NULL and a session is
considered free for both STATE_COMPLETED and STATE_NULL, so remove
the assignment to STATE_NULL.
Remove the break from the STATE_COMPLETED case handling so that it
can fallthrough, in case the same session is used after finish.
Remove also the STATE_LAST_PACKET_RECEIVED case because this state
is never reached.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
2023-02-28 18:12:52 +01:00
..
capture includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
coap net: coap: Allow insertion of an option at arbitrary position 2023-02-06 10:02:19 +01:00
config net: config: Unify the init behaviour when timeout is enabled and not 2023-02-08 11:26:42 +01:00
conn_mgr all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
dns crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
http net: http: Use poll for http timeout instead of shutdown 2023-01-24 14:50:11 +01:00
lwm2m net: lwm2m: bugfix lwm2m shell exec command with optional parameter 2023-02-27 11:34:42 +01:00
mqtt net: sockets: Fix TLS_HOSTNAME option length inconsistency 2023-01-27 19:23:36 +09:00
mqtt_sn net: sockets: fix fcntl.h usage 2023-02-08 19:04:25 +09:00
sntp net: lib: sntp: add support for unspecified IP-family type 2023-01-03 11:03:25 +01:00
sockets net: sockets: getaddrinfo: Minor refactoring 2023-02-21 15:02:35 +01:00
socks includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
tftp net: tftp: Add client context 2023-02-28 10:29:30 +01:00
tls_credentials include: fix files using legacy include paths 2022-08-31 06:49:00 -04:00
utils
websocket net: websocket: Make sure the mbedtls_sha1 function is build in 2023-02-24 18:12:14 +01:00
zperf net: zperf: improve code quality for tcp_received function 2023-02-28 18:12:52 +01:00
CMakeLists.txt net: mqtt-sn: Add MQTT-SN library 2022-11-09 10:43:00 +01:00
Kconfig net: mqtt-sn: Add MQTT-SN library 2022-11-09 10:43:00 +01:00