Ken Bannister
859dab585f
net/coap: remove deprecated COAP_CT_... defines
2019-09-27 20:57:42 -04:00
Martine S. Lenders
b5545fe334
gnrc_sixlowpan: include reassembly buffer only where needed
2019-09-27 21:11:36 +02:00
Martine S. Lenders
1f7770da5c
gnrc_sixlowpan_frag: move public rbuf functions to their own module
2019-09-27 19:09:52 +02:00
Martine S. Lenders
2d9ba56c2c
gnrc_sixlowpan_frag: move reassembly buffer to its own header
2019-09-27 18:34:02 +02:00
9e65405a68
Merge pull request #12309 from haukepetersen/fix_skald_develhelpbuild
...
ble/skald: remove broken assert in init()
2019-09-26 22:44:55 +02:00
Martine Lenders
062bc732ea
Merge pull request #11299 from llueder/ndp_cpp_compliant
...
net/ndp: make addr array ptr c++ compliant
2019-09-26 22:34:45 +02:00
Lasse Lueder
1b0fdf5a6f
net/ndp: remove convenience pointer in ndp_opt_rdnss_t
2019-09-26 22:09:02 +02:00
Lasse Lueder
8a86ea4a4b
use ndp_opt_rdnss_impl_t to access addresses
2019-09-26 22:08:49 +02:00
Lasse Lueder
93fd8b707c
net/ndp define ndp_opt_rdnss_impl_t
...
The auxiliary struct internalizes the handy but non ISO-C++ compliant pointer to the payload in the packet struct. See PR #11299 .
2019-09-26 22:08:28 +02:00
Hauke Petersen
1871c0cb85
ble/skald: remove broken assert in init()
2019-09-26 22:07:23 +02:00
benpicco
e942f86837
Merge pull request #11056 from kb2ma/coap/pkt_api_block_write
...
net/gcoap: add/use Packet API Block implementation
2019-09-24 21:43:33 +02:00
Martine Lenders
58e3384cad
Merge pull request #12298 from brummer-simon/gnrc_tcp-allow_unknown_options
...
gnrc_tcp: allow unknown options
2019-09-24 20:55:14 +02:00
Martine Lenders
cecdd579cb
Merge pull request #12299 from pokgak/pr/credman_change_to_const_void
...
credman: change credman_buffer_t::s type to 'const void *'
2019-09-24 20:38:20 +02:00
Ken Bannister
68ccf4bdc5
net/gcoap: add module documentation for block use
2019-09-24 14:03:50 -04:00
Simon Brummer
fdda22c200
gnrc_tcp: allow unknown options
2019-09-24 20:01:40 +02:00
Aiman Ismail
dac69c5332
credman: change credman_buffer_t::s type to 'const void *'
2019-09-24 19:38:26 +02:00
José Alamos
dcbd12f01e
Merge pull request #12295 from benpicco/netif-phy_cfg_lora
...
shell_commands: gnrc_netif: only include LoRA options when LoRA PHY is present
2019-09-24 18:09:07 +02:00
Benjamin Valentin
c31e373214
shell_commands: gnrc_netif: only include LoRA options when LoRA PHY is present
...
If no LoRA module is used, there is no use in compiling in all the config options
for LoRA PHYs.
This saves about 1k of .text
2019-09-24 17:14:03 +02:00
Sören Tempel
30e4823e94
asymcute: don't make the assumption that req->arg is non-NULL
...
This fixes a denial of service where an attacker would be able to cause
a NULL pointer dereference by sending a spoofed packet. This attack only
requires knowledge about pending message ids.
2019-09-24 12:00:12 +02:00
Gunar Schorcht
e0f1ab0a16
cpu/esp32: module esp_can removed
...
CAN controller driver for ESP32 is no longer realized as separate module.
2019-09-20 19:35:02 +02:00
Martine Lenders
3a4d1f9bb1
Merge pull request #12281 from aabadie/pr/ci/coccinelle_fix_remaining
...
tools/ci: fix remaining errors reported by coccinelle static check
2019-09-20 14:22:09 +02:00
Martine Lenders
440b2614b5
Merge pull request #12274 from miri64/gnrc_ipv6/fix/scan-build
...
gnrc_ipv6: fix scan-build errors
2019-09-20 09:35:40 +02:00
caf48cfb2d
sys/net/lwmac: remove not needed pkt pointer check
2019-09-20 09:01:08 +02:00
Martine S. Lenders
66fa240e9a
gnrc_ipv6: fix scan-build errors
2019-09-20 08:59:55 +02:00
Kees Bakker
d9e0c6c859
sys/arduino: use 64bit usec to compute millis()
...
This is quick solution to avoid wrapping around after 4294967 milliseconds.
It uses xtimer_now_usec64 instead of xtimer_now_usec.
Notice that this is more expansive than the previous solution, especially
on AVR systems.
2019-09-19 19:52:43 +02:00
Dylan Laduranty
f276328491
Merge pull request #12267 from bergzand/pr/usbus/auto_tests
...
usbus: Add automated test
2019-09-19 09:52:48 +02:00
5b477918b6
usbus: Rework handling of set control requests
2019-09-19 09:29:52 +02:00
benpicco
7a818f0433
Merge pull request #12249 from nmeum/pr/gnrc_tcp_option_length_access
...
gnrc_tcp: check if option length field is present before accessing it
2019-09-17 23:22:53 +02:00
smlng
0f1eda14d5
sys/pipe: always include stdlib.h instead of malloc.h
...
The malloc.h file is deprecated on most systems and should not be
used, instead include stdlib.h which handles needed function in a
portable manner.
2019-09-17 20:43:33 +02:00
Martine Lenders
5631b698db
Merge pull request #11623 from miri64/gnrc_ipv6_ext/feat/ipv6-frag
...
gnrc_ipv6_ext_frag: Initial import of IPv6 fragmentation
2019-09-17 19:27:38 +02:00
Martine Lenders
51ef1c997d
gnrc_ipv6: use fragmentation if available
2019-09-17 18:55:18 +02:00
Martine Lenders
c2c3216c16
gnrc_ipv6_ext_frag: Initial import of IPv6 fragmentation
2019-09-17 18:55:18 +02:00
Ken Bannister
80c5baad0e
Merge pull request #12234 from kb2ma/coap/doc_option_order
...
net/coap: Document requirement to add CoAP options in order
2019-09-16 18:44:41 -04: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
benpicco
018c15ae0c
Merge pull request #12253 from nmeum/pr/gnrc_tcp_option_length_check
...
gnrc_tcp: Always ensure that option->length doesn't exceed opt_left
2019-09-16 21:02:52 +02:00
Martine Lenders
4905a1ad49
gnrc_ipv6_ext: use fragment reassembly if available
2019-09-16 19:13:18 +02:00
Martine Lenders
f4b8ba32f3
gnrc_ipv6_ext_frag: Initial import of IPv6 reassembly
2019-09-16 19:13:18 +02:00
Martine Lenders
409e04267f
Merge pull request #12250 from miri64/gnrc_netif_ethernet/fix/debug-output
...
gnrc_netif_ethernet: fix debug output for received packet
2019-09-16 19:04:05 +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
benpicco
92d5428d2e
Merge pull request #12248 from cladmi/pr/makefile_base/thin_archive_fix
...
Makefile.base: implement relative path linking without 'realpath'
2019-09-16 17:05:53 +02:00
Gaëtan Harter
a1f0651170
Revert "sys/arduino: work around llvm-ar bug."
...
This reverts commit 72f934f13d
.
Not required anymore as 'ar' is not executed in the object directory
anymore.
2019-09-16 15:52:36 +02:00
Martine S. Lenders
1ca05f0c08
gnrc_netif_ethernet: fix debug output for received packet
...
A received packet is outputted in DEBUG _after_ it was already parsed,
but with a reference to the already parsed header. The result is that
there can be some garbage in the output and the packet is not dumped in
total. As without parsing we do not have access to the header yet, we
use the `gnrc_netif_addr_to_str()` helper function instead of parsing
the destination address by hand.
2019-09-16 14:01:16 +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
benpicco
6c95081e42
Merge pull request #10556 from gschorcht/drivers_pca9685
...
drivers: support for NXP PCA9685 I2C 16-channel, 12-bit PWM controller
2019-09-15 19:20:29 +02:00
benpicco
65b7102608
Merge pull request #10195 from jcarrano/thin-archives
...
Makefile.base: use thin static archives.
2019-09-15 13:04:25 +02:00
Ken Bannister
5b0aacc9cf
net/nanocoap_sock: insert doc to add options in order
2019-09-15 05:38:58 -04:00
Ken Bannister
414c68a654
net/gcoap: insert doc to add options in order
2019-09-15 05:38:32 -04:00
Ken Bannister
d9d8d92429
net/nanocoap: reinsert doc to add options in order
2019-09-15 05:37:26 -04:00