Simon Brummer
aa1c2e9cba
gnrc_tcp: rewrite API internal messaging
2020-07-04 09:20:43 +02:00
Simon Brummer
9fe91f5c44
gnrc_tcp: rewrite recv buffer allocation/returning
2020-07-01 15:47:23 +02:00
Leandro Lanzieri
d4cac38cc9
gnrc/tcp: Configure mbox size with exponent and add config doc group
...
This changes the configuration macro to be the exponent of 2^n, as the
mbox buffer size needs to be always power of 2.
Also a compile configuration documentation group is created.
2020-06-15 07:30:54 +02:00
Akshai M
c191b009a3
gnrc/tcp : Expose to Kconfig
...
Expose configurations to Kconfig
2020-06-02 15:46:44 +05:30
Akshai M
badeb74d16
gnrc/tcp : Move GNRC_TCP_DEFAULT_WINDOW to 'CONFIG_'
2020-06-02 15:46:44 +05:30
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
27f9d2def6
gnrc/tcp : Move GNRC_TCP_RTO_K to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Akshai M
e42cc62edc
gnrc/tcp : Move GNRC_TCP_RTO_B_DIV to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Akshai M
f704a1e5c9
gnrc/tcp : Move GNRC_TCP_RTO_A_DIV to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Akshai M
f25c21988d
gnrc/tcp : Move GNRC_TCP_RTO_GRANULARITY to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Akshai M
c599c65124
gnrc/tcp : Move GNRC_TCP_RTO_UPPER_BOUND to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Akshai M
ea79c71ce8
gnrc/tcp : Move GNRC_TCP_RTO_LOWER_BOUND to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Akshai M
648247592c
gnrc/tcp : Move GNRC_TCP_RCV_BUFFERS to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Akshai M
e8b13ab44d
gnrc/tcp : Move GNRC_TCP_MSS to 'CONFIG_'
2020-06-02 15:46:44 +05:30
Akshai M
0b3e0de03e
gnrc/tcp : Move GNRC_TCP_MSL 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
Sören Tempel
ac9c1f4a69
gnrc_tcp: disable checksum checks during fuzzing
2020-04-17 17:11:15 +02:00
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
Martine Lenders
9ab67a6d89
Merge pull request #12379 from brummer-simon/gnrc_tcp-no_reopen_recv_window_on_closed_conn
...
gnrc_tcp: do not reopen recv window on closed connection
2019-10-06 17:32:49 +02:00
Simon Brummer
4fbc0252e1
gnrc_tcp: do not reopen recv window on closed connection
2019-10-06 12:13:37 +02:00
Martine Lenders
b99ec92e6a
Merge pull request #12368 from miri64/gnrc_tcp/fix/check-option-length
...
gnrc_tcp: check if option has valid length set
2019-10-05 15:11:38 +02:00
Martine Lenders
66e5f7230f
gnrc_tcp: check if option has valid length set
2019-10-03 18:30:40 +02:00
Simon Brummer
07210ee571
gnrc_tcp: fix debug message
2019-10-03 15:54:36 +02:00
Simon Brummer
fdda22c200
gnrc_tcp: allow unknown options
2019-09-24 20:01:40 +02:00
Sören Tempel
e5503d62bf
gnrc_tcp: check if option length field is present before accessing it
...
TCP options have up to three fields (kind, length, value). The
current code only checks for the presence of the first field. Before
accessing the second field (length) the code must ensure that a length
field is even present.
2019-09-16 21:13:51 +02:00
Sören Tempel
463c1212c2
gnrc_tcp: Always ensure that option->length doesn't exceed opt_left
2019-09-16 17:52:25 +02:00
Martine Lenders
1dcf88efb2
Merge pull request #12245 from nmeum/pr/gnrc_tcp_unknown_option
...
gnrc_tcp: abort on unknown option
2019-09-16 13:01:01 +02:00
Martine Lenders
56e6887a95
Merge pull request #12079 from nmeum/pr/gnrc_tcp_gnrc_pktbuf_add
...
gnrc_tcp: Fix invocation of gnrc_pktbuf_add
2019-09-16 12:41:57 +02:00
Sören Tempel
9764697a3b
gnrc_tcp: abort on unknown option
2019-09-16 12:18:24 +02:00
Simon Brummer
351220e884
gnrc_tcp - Release pakets on failed gnrc_netapi_send()
2019-08-31 11:16:55 +02:00
benpicco
837f99e757
Merge pull request #12084 from nmeum/pr/gnrc_tcp_minlen
...
gnrc_tcp: add minimum length check to _receive
2019-08-30 17:37:20 +02:00
Sören Tempel
7f3415e91d
gnrc_tcp: Fix invocation of gnrc_pktbuf_add
...
The size parameter should specify the length of the given data.
2019-08-27 10:19:40 +02:00
Sören Tempel
c9358b9217
gnrc_tcp: fix integer underflow in option parser
2019-08-27 10:18:15 +02:00
Sören Tempel
0fff1b35ec
gnrc_tcp: add minimum length check to _receive
2019-08-26 16:45:46 +02:00
benpicco
20dec77e39
Merge pull request #11999 from nmeum/pr/gnrc_tcp_mark_update
...
net/gnrc/tcp: fix invalid read
2019-08-20 15:37:17 +02:00
Sören Tempel
c6df2064af
gnrc_tcp: Fix memory leak
2019-08-12 23:14:15 +02:00
Sören Tempel
9e91d21625
net/gnrc/tcp: fix uninitialized memory access
...
From the gnrc_pktbuf_mark documentation:
It's not guaranteed that `result->data` points to the
same address as the original `pkt->data.
Thus it should be necessary to update the `hdr` pointer.
2019-08-12 22:04:35 +02:00
e352b54a9b
net/gnrc/tcp: remove duplicate net_gnrc_tcp group definitions
2019-08-05 16:57:37 +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
Sören Tempel
45989aa60e
gnrc_tcp_pkt: fix typo in comment
2019-01-07 16:15:41 +01:00
Martine Lenders
e801829c7a
gnrc_udp: send ICMPv6 error messages where appropriate
2018-11-16 17:39:16 +01:00
smlng
59e299635b
cppcheck: add/correct reason for cppcheck-suppress
...
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
05b6af466c
sys: add missig <string.h> includes
2018-09-20 23:47:40 +02:00
smlng
fd718dfc74
gnrc_udp: assert ports not zero
...
UDP port 0 is reserved for system usage, e.g., to tell the OS to
set a random source port. Hence, neither source nor destination
port should be 0 when transmitting. This PR adds proper asserts.
2018-08-06 16:09:22 +02:00