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
Benjamin Valentin
6e7d5ae2d3
codespell: fix remaining issues
2022-09-16 14:00:35 +02:00
Benjamin Valentin
cbc8251874
gnrc_tcp: add ; after DEBUG()
2021-12-08 21:09:31 +01:00
Simon Brummer
11d73fbf30
gnrc_tcp: handle zero size buffers
2021-08-14 17:04:57 +02:00
benpicco
84413a3e6e
Merge pull request #16735 from brummer-simon/gnrc_tcp-add_GNRC_TCP_NO_TIMEOUT
...
gnrc_tcp: Add GNRC_TCP_NO_TIMEOUT
2021-08-14 17:00:11 +02:00
Simon Brummer
6b24601ee9
gnrc_tcp: Add GNRC_TCP_NO_TIMEOUT
2021-08-14 15:28:14 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Simon Brummer
873d1fe378
gnrc_tcp: align with sock_tcp
2021-07-13 20:32:14 +02:00
Simon Brummer
88a0273434
gnrc_tcp: add listen/accept
2021-07-08 09:40:02 +02:00
Simon Brummer
247f4d52bc
gnrc_tcp: fix warnings from static-tests
2021-04-06 14:13:34 +02:00
Simon Brummer
458cfb9994
gnrc_tcp: fix data race on fsm status
2021-04-04 17:47:53 +02:00
Bas Stottelaar
1b35d06a51
sys/*: realign ENABLE_DEBUG
2020-10-23 11:27:48 +02:00
Bas Stottelaar
80d9da90df
sys/*: add missing include of assert.h
2020-10-22 11:13:09 +02:00
Simon Brummer
55a5062292
gnrc_tcp: cleanup internal api
2020-10-15 15:16:03 +02:00
Simon Brummer
0cc06a5993
gnrc_tcp: Overhaul all debug messages
2020-10-14 16:58:53 +02:00
Simon Brummer
7b1629553f
gnrc_tcp: Hide remaining global variables
2020-10-05 16:13:13 +02:00
Simon Brummer
132882df73
gnrc_tcp: Replace xtimer with evtimer
2020-10-01 11:30:00 +02:00
Simon Brummer
122616ae7d
gnrc_tcp: add retransmission timer
2020-07-06 21:18:23 +02:00
Simon Brummer
67b22d8783
gnrc_tcp: requested changes
2020-07-04 09:21:50 +02:00
Simon Brummer
aa1c2e9cba
gnrc_tcp: rewrite API internal messaging
2020-07-04 09:20:43 +02:00
Akshai M
49df2258e3
gnrc/tcp : Move GNRC_TCP_PROBE_UPPER_BOUND to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Akshai M
d6904349a9
gnrc/tcp : Move CONFIG_GNRC_TCP_PROBE_LOWER_BOUND to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Akshai M
01dd8e4fa8
gnrc/tcp : Move GNRC_TCP_CONNECTION_TIMEOUT_DURATION to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Simon Brummer
10872d9a85
gnrc_tcp: Add Endpoints for connection specification
2020-02-26 21:24:06 +01:00
d4f3747705
sys/net: fix typos
2019-11-23 22:39:38 +01:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Leandro Lanzieri
3c89597c83
net/gnrc/tcp: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:02:50 +01:00
Simon Brummer
1eb2969986
gnrc_tcp_recv: immediatly return on closed connection
2019-10-22 20:12:38 +02:00
Simon Brummer
07210ee571
gnrc_tcp: fix debug message
2019-10-03 15:54:36 +02:00
Simon Brummer
5d1ab9b34c
gnrc_tcp: Fix packet-flood while probing
2019-03-26 21:05:53 +01:00
Simon Brummer
5dc3f8dc3d
gnrc_tcp: syn_rcvd pkt loss fix
2019-02-04 20:57:30 +01:00
05b6af466c
sys: add missig <string.h> includes
2018-09-20 23:47:40 +02:00
Simon Brummer
3b89bef366
gnrc_tcp: Add missing includes
2018-07-10 16:00:36 +02:00
Simon Brummer
686aabaa0a
gnrc_tcp: handle link local IPv6 addresses correctly
2018-05-29 21:28:32 +02:00
Martine Lenders
1fdad5b184
gnrc_tcp: fix return on closed state
2017-05-17 18:39:38 +02:00
Sebastian Meiling
f0ae5d2dd8
Merge pull request #6969 from brummer-simon/gnrc_tcp-replace_msg_queue
...
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 15:13:03 +02:00
Sebastian Meiling
9944642f92
Merge pull request #6997 from brummer-simon/gnrc_tcp-abort_call
...
gnrc_tcp: improvement: abort() - call
2017-05-17 15:08:12 +02:00
Simon Brummer
42e15ed7c4
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 13:02:52 +02:00
Simon Brummer
b08b12ec8f
gnrc_tcp: improvement: abort() - call
2017-05-17 13:01:28 +02:00
smlng
1be74bc7a5
gnrc, tcp: set param THREAD_CREATE_STACKTEST for mem stats in ps
2017-05-15 13:16:18 +02:00
smlng
cc24aab5a5
gnrc, tcp: fix assert
2017-05-12 09:39:25 +02:00
Simon Brummer
2f0a17b80f
gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init()
2017-04-26 13:37:42 +02:00
Simon Brummer
a9da0dc4f2
gnrc_tcp: cleanup: various minor changes
2017-04-25 20:02:44 +02:00
Simon Brummer
1ae3b51224
gnrc_tcp: cleanup: removed unnecessary includes
2017-02-26 17:31:23 +01:00
Simon Brummer
fd007d5307
gnrc_tcp: cleanup: fixed outdated comments
2017-02-20 21:58:05 +01:00
Simon Brummer
d4c477aa01
gnrc_tcp: cleanup: correct copyright updates and corrected doxygen comments
2017-02-06 18:26:45 +01:00
Simon Brummer
7e7b832219
gnrc_tcp: cleanup: Enforce coding convention
2017-02-04 10:19:59 +01:00
Simon Brummer
4857f16ee8
gnrc_tcp: cleanup: Restrict lines to 100 char boundries
2017-02-02 08:29:29 +01:00
Simon Brummer
a8b8b64036
gnrc_tcp: cleanup: update doxygen headers
2017-02-02 08:29:29 +01:00
Simon Brummer
bc0bf3bc4f
gnrc_tcp: cleanup: removed internal fsm structs from public headers
2017-02-02 08:29:29 +01:00