zephyr/subsys/net/lib/sockets
Robert Lubos 78e8e0da42 net: sockets: Make use of the status field reported by TCP
Make use of the status field, reported by TCP, in the socket receive
callback. This allows to differentiate a graceful connection shutdown
from actual errors at TCP level (transmission timeout or RST received).
In case of error reported from TCP layer, set a new SOCK_ERROR flag on
the socket, and store the error code in the net_context user_data.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-05-13 15:42:01 +02:00
..
CMakeLists.txt net: socket: Add option to create native TLS sock with offloaded TCP 2022-04-20 11:27:05 +02:00
getaddrinfo.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
getnameinfo.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
Kconfig net: sockets: Move offloading out of experimental 2022-05-06 11:30:22 +02:00
socket_dispatcher.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
socket_offload.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
socketpair.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_can.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_internal.h net: sockets: Make use of the status field reported by TCP 2022-05-13 15:42:01 +02:00
sockets_misc.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_net_mgmt.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_packet.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_select.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_tls.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets.c net: sockets: Make use of the status field reported by TCP 2022-05-13 15:42:01 +02:00