zephyr/subsys/net/ip
Robert Lubos 0b27f4b2f9 net: tcp: Report TCP errors through recv_cb()
Make use of the status argument in the recv_cb() callback function -
instead of blindly reporting ECONNRESET whenever TCP context is
dereferenced, indicate whether an actual error condition happened (by
setting respective errno value) or a graceful shutdown took place (by
setting status to 0).

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-05-13 15:42:01 +02:00
..
6lo_private.h
6lo.c
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt
connection.c
connection.h
dhcpv4.c
dhcpv4.h
icmpv4.c
icmpv4.h
icmpv6.c
icmpv6.h
igmp.c
ipv4_autoconf_internal.h
ipv4_autoconf.c
ipv4.c
ipv4.h
ipv6_fragment.c
ipv6_mld.c
ipv6_nbr.c
ipv6.c
ipv6.h
Kconfig
Kconfig.debug
Kconfig.ipv4
Kconfig.ipv6
Kconfig.mgmt
Kconfig.stack
Kconfig.stats
nbr.c
nbr.h
net_context.c
net_core.c
net_if.c
net_mgmt.c
net_pkt.c
net_private.h
net_shell.c
net_shell.h
net_stats.c
net_stats.h
net_tc_mapping.h
net_tc.c
net_timeout.c
packet_socket.c
packet_socket.h
promiscuous.c
route.c
route.h
tcp_internal.h
tcp_private.h
tcp.c
tcp.h
tp_priv.h
tp.c
tp.h
trickle.c
udp_internal.h
udp.c
utils.c