1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/net/gnrc/transport_layer/tcp
Marian Buschsieweke e714707b14
sys/net/gnrc/tcp: fix gnrc_tcp_open() netif handling
gnrc_tcp_open() previously would eventually fail with a timeout without
sending any data when no netif was specified and a link-local target
address was used. This fixes the behavior:

- If there is only one netif, we just pick that
- If there are multiple netifs, fail directly with `-EINVAL` rather than
  sending out nothing and waiting for a timeout.

Co-authored-by: benpicco <benpicco@googlemail.com>
2024-11-12 15:44:41 +01:00
..
include treewide: apply codespell corrections 2024-10-09 13:03:52 +02:00
gnrc_tcp_common.c gnrc_tcp: cleanup internal api 2020-10-15 15:16:03 +02:00
gnrc_tcp_eventloop.c treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
gnrc_tcp_fsm.c gnrc_tcp: add ; after DEBUG() 2021-12-08 21:09:31 +01:00
gnrc_tcp_option.c sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
gnrc_tcp_pkt.c tree-wide: fix typos in doc and comments 2023-10-16 12:17:48 +02:00
gnrc_tcp_rcvbuf.c sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
gnrc_tcp.c sys/net/gnrc/tcp: fix gnrc_tcp_open() netif handling 2024-11-12 15:44:41 +01:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile gnrc_tcp : initial implementation 2017-01-22 09:27:58 +01:00