1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

10244 Commits

Author SHA1 Message Date
MrKevinWeiss
6cad5d2477
cpu/mips: Remove all mips 2022-09-27 13:42:37 +02:00
Benjamin Valentin
e20b966109 event_periodic_callback: add getter for user context 2022-09-27 13:15:26 +02:00
7344e14e1b sys/shell/cmds/dfplayer.c: initialize mode 2022-09-27 09:29:23 +02:00
Benjamin Valentin
a37b283ebe nanocoap: coap_tree_handler(): accept resources in any order 2022-09-26 20:32:30 +02:00
Benjamin Valentin
da1f161c3c gcoap: accept resources in any order 2022-09-26 20:20:14 +02:00
Benjamin Valentin
cdaf715a84 sys/string_utils: add strscpy() 2022-09-26 19:06:46 +02:00
Marian Buschsieweke
caa30b83d5
sys/riotboot: add missing include 2022-09-26 18:54:39 +02:00
chrysn
976de15da6
Merge pull request #18642 from chrysn-pull-requests/rust-20220924
rust: Update dependencies
2022-09-25 14:52:16 +02:00
chrysn
168ec76a17 rust: Update dependencies
This will allow more components to build on 1.64 stable, and contains a
fix relevant for https://github.com/RIOT-OS/RIOT/pull/18619.

CoAP modules are held back as they appear to need an even newer nightly
than in the current riotdocker to build without feature declarations.
2022-09-25 10:16:27 +02:00
Marian Buschsieweke
77731c5f7b
treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/
Replace the deprecated module gnrc_pktbuf_cmd with the new
shell_cmd_gnrc_pktbuf module.
2022-09-24 14:50:43 +02:00
Benjamin Valentin
52cd8fe4a1 sys/shell: ncput: add option to read from stdin 2022-09-23 19:47:42 +02:00
Benjamin Valentin
42a8a587c4 nanocoap_sock: add nanocoap_sock_{put, post}_url() 2022-09-23 19:47:02 +02:00
Sören Tempel
498e531e2f dhcpv6: don't treat zero option as an end-of-payload marker
As far as I can tell, no DHCPv6 RFC specifies this option. The handling
for the zero option was added in #17736 by @benpicco to fix issues
encountered while trying to retrieve a DHCHPv6 lease. However, I
strongly suspect that the zero option was encountered in this case due
to an out-of-bounds read performed in RIOT's DHCPv6 client
implementation (i.e. the option parsing loop read beyond the packet
bounds). This issue was fixed in #18307 and I strongly suspect that it
should also fix the issue @benpicco originally encountered in #17736. As
such, I propose that we remove the if statement which treats the zero
option as an end-of-payload marker.

Fixes #18309
2022-09-22 20:08:00 +02:00
Marian Buschsieweke
a00fb233dc
sys/net/credman: fix insecure memory wiping 2022-09-20 17:44:24 +02:00
Marian Buschsieweke
0f27ce4ad8
sys/fido2: fix insecure memory wiping 2022-09-20 17:44:24 +02:00
Marian Buschsieweke
34c61b58a6
sys/string_utils : new (header-only) module for string utilities
This header-only module provides a `string_utils.h` that currently
only provides the non-standard function `explicit_bzero()` to securely
wipe memory. It may be extended with other utility functions in the
future.
2022-09-20 17:44:24 +02:00
Marian Buschsieweke
eaa245f5de
sys/shell/commands/sc_vfs.c: use tiny_strerror 2022-09-20 15:51:11 +02:00
Marian Buschsieweke
1bdc1a5967
sys/tiny_strerror: add tiny strerror() implementation
`tiny_strerror()` is a drop-in replacement for `strerror()`, but
instead of a long help message it returns the much shorter macro name
matching the given number.

The (pseudo-)module `tiny_strerror_as_strerror` can be used to
replace all calls to `strerror()` with calls to `tiny_strerror()`.
2022-09-20 15:51:11 +02:00
Martine Lenders
0079b0c52f
event_periodic_callback: remove unnecessary dependency 2022-09-20 09:49:30 +02:00
benpicco
f03f5384c1
Merge pull request #18355 from maribu/sys/shell/cmds
sys/shell: make cmds submodules and add KConfig modeling
2022-09-19 21:07:23 +02:00
Marian Buschsieweke
4b87a300c0
Merge pull request #18598 from benpicco/event_periodic_callback
event_periodic_callback: add convenience wrapper for periodic callbacks
2022-09-19 20:45:52 +02:00
Martine Lenders
ff648985c0
Merge pull request #18443 from miri64/gcoap_dns/enh/implement-max_age-ttl-algorithm
gcoap_dns: implement Max-Age-based TTL calculation
2022-09-19 16:03:46 +02:00
Martine Lenders
d5e63a5e46
Merge pull request #18096 from Teufelchen1/feat/port_parsing
sys/uri_parser: Adding the port as uint16_t
2022-09-19 13:40:53 +02:00
Karl Fessel
e43a75d293
Merge pull request #18431 from kfessel/p-doccheck-fix
doccheck: make the file pattern more match riot.doxyfile
2022-09-19 11:07:57 +02:00
Benjamin Valentin
b1ea963df4 gnrc_netif: introduce GNRC_NETIF_STACKSIZE_DEFAULT 2022-09-18 18:35:21 +02:00
Marian Buschsieweke
8457f09dde
Merge pull request #18139 from maribu/sys/net/gnrc/netif/confirm_send
sys/net/gnrc_netif: Make use of confirm send
2022-09-17 19:40:24 +02:00
Benjamin Valentin
838a5e4bd3 netdev_drivers: make sure to signal LINK_UP at least once 2022-09-16 22:57:28 +02:00
Benjamin Valentin
4b0bfae4ca gnrc_netif: handle NETDEV_EVENT_LINK_UP/DOWN events 2022-09-16 22:57:06 +02:00
Benjamin Valentin
7211aa11af ipv6/nib: add gnrc_ipv6_nib_iface_{up, down}() 2022-09-16 22:57:06 +02:00
benpicco
8d824bca02
Merge pull request #18604 from benpicco/codespell2
codespell: fix remaining issues
2022-09-16 22:50:00 +02:00
Benjamin Valentin
6e7d5ae2d3 codespell: fix remaining issues 2022-09-16 14:00:35 +02:00
Benjamin Valentin
aef967fdef USBUS/cdc_ecm: register with netdev 2022-09-16 13:22:42 +02:00
Marian Buschsieweke
fe7f75f78c
sys/shell/cmds: improve wording in shell help text
My spell checker says "receival" should be "reception". Also, the
terms allow list and deny list are preferred over whitelist and
blacklist. But since scripts may depend on the shell command name,
only the help description is changed, not the cmd names.
2022-09-16 13:15:46 +02:00
Marian Buschsieweke
c06335b71b
sys/shell: make cmds submodules
Previously `shell_commands` was a "catch-all" module that included
shell commands for each and every used module that has a shell
companion. Instead, the new `shell_cmds` module is now used to provide
shell commands as individually selectable submodules, e.g.
`cmd_gnrc_icmpv6_echo` now provides the ICMPv6 echo command (a.k.a.
ping).

To still have a "catch all" module to pull in shell commands of modules
already used, `shell_cmds_default` was introduced. `shell_commands`
depends now on `shell_cmds_default` for backward compatibility, but
has been deprecated. New apps should use `shell_cmds_default`
instead.

For a handful of shell commands individual selection was already
possible. Those modules now depend on the corresponding `cmd_%` module
and they have been deprecated.
2022-09-16 13:15:45 +02:00
Marian Buschsieweke
6e68744d76
sys/shell: port random shell command to ztimer
This fixed compilation, as the use of the interal `_xtimer_now()`
function is not compatible with `ztimer_xtimer_compat`. However, this
bug never triggered due to a bug in the build system preventing the
compilation of the shell command. We are about to fix this, so let's
fix the source first.
2022-09-16 12:49:16 +02:00
benpicco
1be4da53c5
Merge pull request #17654 from kfessel/p-ztimer-lptimer
sys/ztimer: add LPTIMER auto init
2022-09-15 22:50:00 +02:00
Marian Buschsieweke
6790167a18
Merge pull request #18226 from benpicco/cpu_get_last_instruction
cpu: cpu_print_last_instruction() -> cpu_get_caller_pc()
2022-09-15 20:06:10 +02:00
Benjamin Valentin
00c11c3f9d event_periodic_callback: add convenience wrapper for periodic callbacks 2022-09-15 18:36:41 +02:00
Marian Buschsieweke
2dd185448f
Merge pull request #18587 from Ziesie1/master
sys/net: include misplacement inside linkage-specification
2022-09-15 14:06:06 +02:00
Marian Buschsieweke
581f35e577
sys/net/gnrc/netif: adapt to new API
For Ethernet, raw netifs, and IEEE 802.15.4 netifs only release outgoing
frame with legacy drivers, as gnrc_netif does so with new non-blocking
API.
2022-09-15 13:23:26 +02:00
Marian Buschsieweke
1cb6f9e11a
sys/net/gnrc/netif: provide support for confirm_send()
This adds support for netdevs implementing the new API that provides
`netdev_driver_t::confirm_send()`. This allows implementing netdevs
in an event based non-blocking fashion, making live of driver
developers a bit easier. In addition, `gnrc_tx_sync` will now throttle
users of `sock_udp_send()` so that they can only send datagrams as
fast as the network stack and hardware is able to send out.

Finally, this lays the groundwork to fetch TX statistics (such as
TX timestamps, reception of layer 2 ACKs/NACKs, etc.) from the network
devices.
2022-09-15 13:23:25 +02:00
Karl Fessel
81d06c819c sys/ztimer: add LPTIMER auto init 2022-09-15 11:26:22 +02:00
Karl Fessel
594fe83843 sys/ztimer: auto_init react to possibly missing ztimer_periph_timer 2022-09-15 11:26:22 +02:00
benpicco
b5bf5da38d
Merge pull request #18444 from kfessel/p-fix-doc-grp
doc: fix unbalaced grouping
2022-09-14 22:19:28 +02:00
Karl Fessel
05f114d0af doc: fix unbalaced grouping
- most were trivial
    - missing group close or open
    - extra space
    - no doxygen comment
- name commad might open an implicit group
    this hould also be implicit cosed but does not happen somtimes
- crazy: internal declared groups have to be closed internal
2022-09-14 15:05:25 +02:00
Ziesie
be10ffe74e sys/net: include misplacement inside linkage-specification
An include should be outside of the linkage-specification.
2022-09-14 10:47:18 +02:00
Benjamin Valentin
b6fac2b2c7 nanocoap_sock: consitfy remote 2022-09-14 10:29:57 +02:00
benpicco
b117171fcf
Merge pull request #18519 from benpicco/coap_request_ctx_get_remote
gcoap: add remote sock_udp_ep_t to coap_request_ctx_t
2022-09-12 20:30:19 +02:00
Benjamin Valentin
02aeab750a gcoap_forward_proxy: const arg to gcoap_forward_proxy_request_process() 2022-09-12 17:52:54 +02:00
Benjamin Valentin
1552267d19 gcoap: drop duplicate context field from coap_request_ctx_t 2022-09-12 17:51:26 +02:00
Benjamin Valentin
f068fbccb6 gcoap_forward_proxy: make use of coap_request_ctx_get_remote_udp() 2022-09-12 17:51:26 +02:00
Benjamin Valentin
2376343547 gcoap: add remote sock_udp_ep_t to coap_request_ctx_t 2022-09-12 17:51:26 +02:00
Marian Buschsieweke
1066195fe9
Merge pull request #18550 from benpicco/sc_vfs-human
sys/shell/vfs: make output of vfs df human readable
2022-09-08 20:13:08 +02:00
Benjamin Valentin
2d45fcaf76 sys/shell/vfs: make output of vfs df human readable 2022-09-08 12:35:27 +02:00
Teufelchen1
df8fe4476d sys/uri_parser: Adding the port as uint16 2022-09-08 11:32:49 +02:00
Marian Buschsieweke
2eb440b05c
Merge pull request #18556 from benpicco/shell_suit_revert
sys/shell/commands: add suit revert sub-command
2022-09-07 19:08:22 +02:00
benpicco
d43318f90d
Merge pull request #18558 from benpicco/_sbrk_r-comment
sys/syscalls: drop outdated comment on _sbrk_r()
2022-09-06 14:23:02 +02:00
Benjamin Valentin
d635004a62 sys/syscalls: fix coding style 2022-09-05 14:56:51 +02:00
Benjamin Valentin
fb387ca83a sys/syscalls: drop outdated comment on _sbrk_r() 2022-09-05 14:23:10 +02:00
Benjamin Valentin
15a43f28f2 suit: start worker thread on demand 2022-09-05 07:46:56 +02:00
Benjamin Valentin
db701de094 suit: clean up worker thread, make suit_handle_url() public 2022-09-05 07:46:56 +02:00
Benjamin Valentin
37dceb6c80 nanocoap_sock: use correct error code in nanocoap_get_blockwise_url_to_buf()
It should return -ENOBUFS like the other nanocoap_…() functions, not -1
2022-09-05 07:40:59 +02:00
Benjamin Valentin
6ed2394dde sys/shell/commands: add suit revert sub-command 2022-09-05 07:36:28 +02:00
Benjamin Valentin
f95d577245 suit: make use of worker functions 2022-09-03 23:25:01 +02:00
Benjamin Valentin
0b6e344d4f suit: rename worker thread functions (they are not CoAP only) 2022-09-03 23:25:01 +02:00
fcf3e01eb7
Merge pull request #18315 from miri64/fmt/doc/wording
fmt: unify and align wording regarding characters, digits, and bytes
2022-09-01 21:46:22 +02:00
chrysn
7f64521c10
Merge pull request #18424 from benpicco/ncget-convenience
sys/shell: ncget: convenience improvements
2022-08-31 23:40:35 +02:00
Marian Buschsieweke
754ad23de5
Merge pull request #18539 from miri64/hashes_cmac/cleanup/rename
hashes_cmac: rename to hashes_aes128_cmac
2022-08-31 19:06:21 +02:00
Benjamin Valentin
51804679e6 sys/shell: ncget: make use of vfs_is_dir() 2022-08-31 17:23:20 +02:00
Martine Lenders
803ff1f69e
Merge pull request #18516 from Teufelchen1/feat/crc_fixup
sys/checksum: Adding three new crc16 variations
2022-08-31 12:58:04 +02:00
Martine Lenders
84e3ace6e3
gnrc_lorawan_crypto: fix Vera++ errors 2022-08-31 10:43:25 +02:00
Martine Lenders
aead6d2010
gnrc_lorawan: use aes128_cmac_.* instead of cmac_.* 2022-08-31 10:43:25 +02:00
Martine Lenders
5e59649fda
hashes_cmac: rename to hashes_aes128_cmac 2022-08-31 10:43:25 +02:00
benpicco
0e2eb919a4
Merge pull request #18536 from fabian18/bugfix_gcoap_fileserver_recursive_delete
gcoap_fileserver: bugfix recursive delete
2022-08-31 08:35:27 +02:00
Fabian Hüßler
7ba45bbd19 sys/vfs_util: bugfix rec. delete, rel. components 2022-08-30 17:53:36 +02:00
Fabian Hüßler
43caeb8cb5 gcoap_fileserver: bugfix add missing return 2022-08-30 17:47:51 +02:00
Teufelchen1
a25934ca16 sys/checksum: Adding four crc16 variations: ccitt-aug/false/kermit/mcrf4xx 2022-08-30 15:37:04 +02:00
benpicco
346c7336eb
Merge pull request #18514 from benpicco/nanocoap_sock_put
nanocoap_sock: add nanocoap_sock_put()
2022-08-30 14:00:42 +02:00
Marian Buschsieweke
eaace28804
sys/usb: Set USB model to $(BOARD) by default 2022-08-29 16:39:05 +02:00
Benjamin Valentin
514f039c30 nanocoap_sock: add nanocoap_sock_{put, post}() 2022-08-25 17:52:43 +02:00
Gunar Schorcht
56e59eb036 cpu/esp32: add NimBLE support for ESP32 2022-08-24 09:05:25 +02:00
Martine Lenders
f15fbb3c15
Merge pull request #18441 from miri64/dns_cache/fix/ttl0
dns_cache: handle TTL=0 properly
2022-08-23 02:58:13 +02:00
José Alamos
39987817ce
Merge pull request #18496 from jia200x/pr/gnrc_netif_multi_queue
net/gnrc_netif: add support for priority queues
2022-08-22 22:54:55 +02:00
Jose Alamos
5fd601ae97
gnrc/init_devs/kw2xrf: use high priority queue for drivers 2022-08-22 18:00:15 +02:00
Jose Alamos
2c9f3072fb
net/gnrc_netif: add support for priority queues 2022-08-22 18:00:14 +02:00
benpicco
ed3d680aa2
Merge pull request #18482 from benpicco/coap_timeout_avr
nanocoap: fix type of CONFIG_COAP_ACK_TIMEOUT_MS (for AVR)
2022-08-20 18:37:15 +02:00
benpicco
a4564df7a5
Merge pull request #18474 from gschorcht/pkg/nimble/fix_statconn_peer_type
pkg/nimble:derive peer address type from peer address
2022-08-20 17:17:27 +02:00
Benjamin Valentin
071ae2ccc0 nanocoap: fix type of CONFIG_COAP_ACK_TIMEOUT_MS 2022-08-20 16:32:20 +02:00
chrysn
0a4bd3d68f
Merge pull request #18389 from chrysn-pull-requests/rust-cstr-update
rust: Update cstr dependency
2022-08-20 15:43:44 +02:00
benpicco
0b5f270b15
Merge pull request #18464 from jia200x/pr/bhp_msg
sys/bhp_msg: add IPC based implementation of Bottom Half Processor
2022-08-19 14:28:15 +02:00
Jose Alamos
8cf53fc8ab
sys/bhp_msg: add IPC based Bottom Half Processor 2022-08-19 12:01:30 +02:00
Marian Buschsieweke
ca4afc4053
pkg/littlefs2: fix unaligned memory access
Previously `tests/pkg_littlefs2` crashed on the `samr21-xpro`. This
now aligns the buffers in `littlefs2_desc_t` to the alignment
requirement of `uint32_t`.

Specifically the issue causing the crash at hand was that
`struct lfs_free::buffer` is of type `uint32_t *`, so access are
expected to be aligned to `uint32_t`. After this commit, this
assumption is fulfilled.
2022-08-18 18:54:37 +02:00
Marian Buschsieweke
f87a401c87
pkg/littlefs: fix unaligned memory access
Previously `tests/pkg_littlefs` crashed on the `samr21-xpro`. This
now aligns the buffers in `littlefs_desc_t` to the alignment
requirement of `uint32_t`.

Specifically the issue causing the crash at hand was that
`lfs_free_t::buffer` is of type `uint32_t *`, so access are expected
to be aligned to `uint32_t`. After this commit, this assumption is
fulfilled.
2022-08-18 18:53:59 +02:00
Gunar Schorcht
8a5ff74dfc sys/shell: print address type in ble info command 2022-08-18 18:45:13 +02:00
Jose Alamos
2d4f239d18
sys/bhp: add missing event dependency 2022-08-18 17:04:46 +02:00
Martine Lenders
1135cc0f7e
gcoap: fix swap-out of option length for ETag 2022-08-18 14:38:37 +02:00
Martine Lenders
9bc0454d99
gcoap_forward_proxy: copy Max-Age from forwarded Valid if it exists 2022-08-18 12:19:31 +02:00
Leandro Lanzieri
2dd59236c8
Merge pull request #18423 from MrKevinWeiss/pr/disable/hashchecks
.murdock: disable hash checks of kconfig/make
2022-08-17 18:30:36 +02:00
benpicco
0713e0d9a1
Merge pull request #18313 from benpicco/coap_request_ctx_get_tl_type
gcoap: move tl_type to coap_request_ctx_t
2022-08-17 16:51:50 +02:00
benpicco
2321841ccc
Merge pull request #18426 from maribu/sys/net/gnrc/netif/api_check
sys/net/gnrc/netif: allow checking if a netdev is legacy or new API
2022-08-17 16:50:16 +02:00
Marian Buschsieweke
276ad5716a
sys/net/gnrc/netif: allow checking if a netdev is legacy or new API
A if `netdev_driver_t::confirm_send()` is provided, it provides the
new netdev API. However, detecting the API at runtime and handling
both API styles comes at a cost. This can be optimized in case only
new or only old style netdevs are in use.

To do so, this adds the pseudo modules `netdev_legacy_api` and
`netdev_new_api`. As right now no netdev actually implements the new
API, all netdevs pull in `netdev_legacy_api`. If `netdev_legacy_api` is
in used but `netdev_new_api` is not, we can safely assume at compile
time that only legacy netdevs are in use. Similar, if only
`netdev_new_api` is used, only support for the new API is needed. Only
when both are in use, run time checks are needed.

This provides two helper function to check for a netif if the
corresponding netdev implements the old or the new API. (With one
being the inverse of the other.) They are suitable for constant folding
when only new or only legacy devices are in use. Consequently, dead
branches should be eliminated by the optimizer.
2022-08-17 12:56:07 +02:00
benpicco
dffac04069
Merge pull request #18447 from benpicco/vfs_formaat_by_path
vfs: introduce vfs_format_by_path()
2022-08-17 12:04:09 +02:00
benpicco
d1ce899188
Merge pull request #18398 from benpicco/gnrc_ipv6_auto_subnets-doc
gnrc/ipv6_auto_subnets: improve documentation about subnet generation and RIO
2022-08-16 17:00:52 +02:00
benpicco
0aff42c682
Merge pull request #18383 from jia200x/pr/kw2xrf_radio_hal
drivers/kw2xrf: add support for IEEE 802.15.4 Radio HAL
2022-08-16 11:42:03 +02:00
Benjamin Valentin
28ff28aee0 gnrc/ipv6_auto_subnets: document the role of the RIO 2022-08-16 11:31:23 +02:00
Benjamin Valentin
18e74ae8c0 gnrc/ipv6_auto_subnets: document subnet generation better 2022-08-16 11:31:23 +02:00
MrKevinWeiss
54c4bd56ca
sys/cpp11-compat: Fix kconfig model 2022-08-16 10:57:26 +02:00
Jose Alamos
4ebcd7c055
drivers/kw2xrf: add IEEE 802.15.4 Radio HAL support
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
2022-08-15 12:11:03 +02:00
Benjamin Valentin
9057b2c6ad sys/shell/vfs: introduce format sub-command 2022-08-12 15:36:29 +02:00
Benjamin Valentin
7c19ea95b7 sys/shell/vfs: fix error message printing 2022-08-12 15:36:29 +02:00
Benjamin Valentin
855a359058 vfs: introduce vfs_format_by_path() 2022-08-12 15:36:29 +02:00
Jose Alamos
4ace2ed778
net/gnrc: add support for event based Bottom Half Processor 2022-08-12 11:12:13 +02:00
Jose Alamos
ef80302cca
ieee802154: add ACK timeout in symbols to header 2022-08-12 10:17:33 +02:00
José Alamos
50e4498c84
Merge pull request #18435 from jia200x/pr/bhp
sys/bhp_*: add initial support for generic Bottom Half Processor
2022-08-12 09:58:18 +02:00
Martine Lenders
6f18132e98
gcoap_dns: implement Max-Age-based TTL calculation 2022-08-11 15:00:19 +02:00
Martine Lenders
883c3fdffa
dns_cache: handle TTL=0 properly
Existing entries should be expired, new entries should not be created.
2022-08-11 14:04:16 +02:00
benpicco
a93ba1ef80
Merge pull request #18434 from nmeum/pr/asymcute-ack-typecheck
asymcute: Compare request message type when matching acknowledgement
2022-08-11 12:10:04 +02:00
Jose Alamos
c9ea772bbb
Kconfig/bhp_*: add initial Kconfig modelling 2022-08-11 10:57:55 +02:00
Jose Alamos
0a3f58158b
sys/bhp_event: add Event based implementation for Bottom Half Processor 2022-08-11 10:57:54 +02:00
Jose Alamos
4c09846426
sys/bhp: add initial support for generic Bottom Half Processor 2022-08-11 10:57:53 +02:00
Martine Lenders
60bd3ca07a
Merge pull request #18429 from miri64/gcoap/fix/empty-ack
gcoap: fixes around empty ACKs
2022-08-10 23:05:53 +02:00
Martine S. Lenders
f11c9e837d
gcoap: expire memo and stop retransmissions on RESET reception 2022-08-10 16:09:43 +02:00
Martine S. Lenders
b616c17e46
gcoap: expire memo if there is nothing to wait for 2022-08-10 16:09:43 +02:00
chrysn
9ca149f30c
Merge pull request #17978 from chrysn-pull-requests/gcoap-match-response-from-multicast
gcoap: Forego IP address comparison in memo finding of multicasts
2022-08-10 15:19:11 +02:00
Sören Tempel
06d572c2fc asymcute: fix one byte out-of-bounds access in _len_get
As per Section 5.2.1 of the MQTT-SN specification, the MQTT-SN length
header is either 1- or 3-octet long. If it is 3-octet long then the
first octet is 0x01. The asymcute implementation currently only checks
that the incoming packet is at least 2-octet long before attempting to
parse it (MIN_PKT_LEN). However, if the first octet is 0x01 the packet
must be more than 3 octet long in order to be valid. Since asymcute
does not check this it reads one octet beyond the packet data for a
2-octet packet where the first octet has the value 0x01. This commit
fixes this issue by adding an additional sanity check to _len_get.
2022-08-10 05:41:10 +02:00
Sören Tempel
fb660dbec6 asymcute: Compare request message type when matching acknowledgement
Currently, asymcute only matches an MQTT-SN request to its
acknowledgement using the MsgId header. However, I strongly believe
this to be insufficient as asymcute would thus also match a SUBACK
to a prior PUBLISH message (for example) as long as the message ID
matches. To address this issue, this commit modifies _req_preprocess
to also compare the request message type in addition to the message id.
2022-08-10 00:49:37 +02:00
chrysn
ab6bec6f0e gcoap: Forego IP address comparison in memo finding of multicasts
Co-Authored-By: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2022-08-09 19:09:39 +02:00
Martine S. Lenders
2cd785791d
gcoap: send empty RST on unknown CON response 2022-08-09 17:09:50 +02:00
Karl Fessel
5093153468 ztimer(64): make xtimer_compat documetation visible (defgroup) 2022-08-09 14:26:49 +02:00
benpicco
3f1ac8a6b3
Merge pull request #18402 from benpicco/CONFIG_GNRC_IPV6_NIB_ADV_ROUTER-fix
gnrc_ipv6_nib: use correct DHCPv6 client module name
2022-08-06 22:38:38 +02:00
benpicco
ba33ab5174
Merge pull request #17040 from maribu/tests/thread_priority_inversion
core: implement core_mutex_priority_inheritance
2022-08-05 18:40:31 +02:00
Marian Buschsieweke
8be03dc055
core: implement core_mutex_mitigate_priority_inversion 2022-08-05 13:08:52 +02:00
Benjamin Valentin
f6cef270c2 gnrc_ipv6_nib: use correct DHCPv6 client module name
`MODULE_GNRC_DHCPV6_CLIENT_IA_PD` does not exist, the correct module name
is `MODULE_DHCPV6_CLIENT_IA_PD`.
2022-08-05 12:52:22 +02:00
Benjamin Valentin
4c31bd1689 sys/shell: add CONFIG_NCGET_DEFAULT_DATA_DIR option 2022-08-05 12:05:30 +02:00
f8cb17ad8b
Merge pull request #18401 from blueted2/master
sys/net: fix typo in docs
2022-08-05 09:49:05 +02:00
benpicco
c125e3d98a
Merge pull request #18133 from fabian18/gcoap_fileserver_file_and_directory_creation
gcoap/fileserver: add file and directory creation and deletion
2022-08-04 16:14:29 +02:00
Gregory Holder
ba1b12f3e6 net/iee802154: fix typo in docs 2022-08-04 15:09:20 +02:00
Benjamin Valentin
199e31ef43 gcoap/fileserver: ignore URI HOST option 2022-08-04 12:04:59 +02:00
Fabian Hüßler
9333970b77 gcoap/fileserver: make PUT and DELETE pseudomodules 2022-08-03 22:10:30 +02:00
Fabian Hüßler
f357d99396 gcoap/fileserver: recursive directory deletion as default 2022-08-03 22:10:30 +02:00
Fabian Hüßler
70a8cf0d63 sys/shell/commands: add recursive unlink to sc_vfs 2022-08-03 22:09:21 +02:00
Fabian Hüßler
2e587973eb sys/vfs_util: add recursive unlink 2022-08-03 22:09:21 +02:00
Fabian Hüßler
2327bef57f gcoap/fileserver: update documentation 2022-08-03 22:09:21 +02:00
Fabian Hüßler
688acff5bc gcoap/fileserver: implement PUT/POST/DELETE functionality 2022-08-03 22:09:21 +02:00
benpicco
df8d1f30c8
Merge pull request #18388 from chrysn-pull-requests/sync-cargo-lock-files
rust: Bring lock files in sync with toml files
2022-08-02 21:40:30 +02:00
Benjamin Valentin
3f0a6c8f9d sys/shell: improve 'ncget' command
Allow to specify destination directory and concat the filename
automatically.
2022-08-02 10:02:39 +02:00
chrysn
863a1c2ac1 rust: Update cstr dependency
A change in Rust nightly features broke version 0.2.5 of the `cstr`
crate, whose nightly-only features are enabled in some examples. The
breakage was quickly fixed upstream in the 0.2.6 version, this updates
the locks.
2022-08-01 16:36:43 +02:00
chrysn
86dc086379 rust: Bring lock files in sync with toml files
The riotmodules dependency was missed in bc8ec6d5, and while generally
it does not severly harm builds, it does harm builds riotdocker CI where
branches are switched, which is blocked by dirty files in the checkout.

The riot-wrappers version was missed when what is now 5e75f4bd was
rebased onto fdc4e11a.
2022-08-01 16:28:12 +02:00
Martine Lenders
24ff493d04
Merge pull request #18378 from benpicco/dns_query
dns: provide generic dns_query() function
2022-08-01 11:27:54 +02:00
Martine Lenders
141ec6fb94
Merge pull request #18363 from benpicco/sock_dtls_sendv_aux
net/sock/dtls: introduce sock_dtls_sendv_aux()
2022-08-01 09:59:55 +02:00
benpicco
f375856a7e
Merge pull request #18141 from fabian18/filesystems_configure_block_size
littlefs: make block size configurable at compile time
2022-07-31 22:53:46 +02:00
Benjamin Valentin
0cb3746a97 sock_dns_mock: pull in DNS module 2022-07-31 17:39:04 +02:00
Fabian Hüßler
a29d5c24cd pkg/littlefs2: make block size configurable 2022-07-31 10:57:13 +02:00
Fabian Hüßler
41c0b1e7f0 pkg/littlefs: make block size configurable 2022-07-31 10:57:12 +02:00
Benjamin Valentin
e128736014 net/util: make use of dns_query() 2022-07-29 17:48:26 +02:00
Benjamin Valentin
9a9abb4f58 dns: add generic dns_query() function 2022-07-29 17:48:26 +02:00
Martine Lenders
cc55a4475d
sock_dtls: make sock_dtls-header includeable without sock_dtls module 2022-07-28 14:57:29 +02:00
Benjamin Valentin
3af06a1c3d net/sock/dtls: introduce sock_dtls_sendv_aux() 2022-07-28 13:21:07 +02:00
Martine Lenders
8ad68dbb21
Merge pull request #16861 from miri64/sock_dodtls/feat/initial
sock_dodtls: Initial import of a DNS over DTLS client
2022-07-27 13:17:23 +02:00
Marian Buschsieweke
e1ef2a0635
Merge pull request #18372 from benpicco/random_bytes-void
random: use void * in random_bytes()
2022-07-27 10:29:51 +02:00
Martine Lenders
1b6c9a8334
sock_dodtls: provide getters for sock and session
To be able to implement the DNS message exchange outside the module.
2022-07-27 00:46:43 +02:00
Martine Lenders
96b1d9c59e
tests/gnrc_sock_dodtls: provide DNS over DTLS test application 2022-07-27 00:46:43 +02:00
Benjamin Valentin
1e69740d18 random: use void * in random_bytes() 2022-07-26 19:46:14 +02:00
Martine Lenders
f575292e20
sock_dodtls: Initial import of a DNS over DTLS client 2022-07-26 19:37:12 +02:00
Martine Lenders
2aee54e495
gnrc_netif_conf: fix auto-6ctx switch 2022-07-26 16:06:51 +02:00
Martine Lenders
875411fd3a
gcoap_dns: fix block-wise transfer 2022-07-25 20:17:00 +02:00
Martine Lenders
349a89c9fa
gcoap_dns: replace printfs with DEBUG 2022-07-25 19:51:47 +02:00
Kevin "Tristate Tom" Weiss
aa268f0a0a
Merge pull request #17739 from leandrolanzieri/drivers/model_kconfig_eth
drivers: model kconfig for Ethernet drivers
2022-07-25 14:21:42 +02:00
Leandro Lanzieri
ec32e41f02
sys/net/netopt: model in Kconfig 2022-07-25 11:08:31 +02:00
Marian Buschsieweke
726a8bd5fe
Merge pull request #18360 from miri64/gnrc_nib/fix/config-deps
gnrc_ipv6_nib: make configurable via Kconfig again
2022-07-22 20:40:38 +02:00
Martine Lenders
fe3d620a63
gnrc_ipv6_nib: make configurable via Kconfig again 2022-07-22 17:51:57 +02:00
Leandro Lanzieri
96de3ce511
drivers/ethos: model in Kconfig 2022-07-22 16:06:36 +02:00
Leandro Lanzieri
e0bd45ef59
sys/test_utils/netdev_eth_minimal: model in Kconfig 2022-07-22 15:57:20 +02:00
Marian Buschsieweke
de064b7da0
Merge pull request #18349 from maribu/sys/shell/commands/sc_gnrc_icmpv6_echo
sys/shell/commands/ping: fix dependency & convert to ztimer
2022-07-21 17:37:59 +02:00
Marian Buschsieweke
cab761ba5d
sys/shell/commands/sc_gnrc_icmpv6_echo: use ztimer 2022-07-21 13:20:11 +02:00
Marian Buschsieweke
3a5e3636bb
sys/shell/commands/sc_gnrc_icmpv6_echo: fix dependency
Add missing dependency to xtimer so that the shell command `ping` is
again provided when requested.
2022-07-21 13:20:10 +02:00
Martine Lenders
2e5a66e7d2
gcoap_dns: Add DNS cache support 2022-07-20 10:45:08 +02:00
Martine Lenders
fe4deff522
dns_cache: synchronize access with mutex 2022-07-20 06:30:14 +02:00
Benjamin Valentin
56fc7c375f gnrc_netif: move message queue to gnrc_netif_t 2022-07-18 23:28:38 +02:00
Martine Lenders
8bec9c1115
sock_dns_cache: move to dns_cache
Also piggy-back some fixes to the unittests and submodule handling
2022-07-18 15:27:58 +02:00
Martine Lenders
1761726024
net/dns: provide Kconfig 2022-07-18 11:43:35 +02:00
Martine Lenders
635488616f
fmt: unify and align wording regarding characters, digits, and bytes 2022-07-18 10:38:59 +02:00
Benjamin Valentin
d7bb42296a gcoap: move tl_type to coap_request_ctx_t 2022-07-17 18:05:07 +02:00
Benjamin Valentin
3806f7d532 nanocoap: make coap_request_ctx_t members internal 2022-07-17 14:32:16 +02:00
Benjamin Valentin
e8829d5591 gcoap_fileserver: make use of coap_request_ctx_t 2022-07-17 14:32:16 +02:00
Benjamin Valentin
2daad4f5ff nanocoap: document coap_handler_t 2022-07-17 14:32:16 +02:00
Benjamin Valentin
a6c617a221 gcoap: make use of coap_request_ctx_t 2022-07-17 14:29:39 +02:00
Benjamin Valentin
acfab72296 nanocoap: make use of coap_request_ctx_t 2022-07-17 14:29:39 +02:00
Benjamin Valentin
0898e499fc nanocoap: define coap_request_ctx_t for request handlers 2022-07-17 14:29:39 +02:00
Marian Buschsieweke
576f82732f
Merge pull request #18311 from benpicco/gnrc/ipv6_auto_subnets-wording
gnrc/ipv6_auto_subnets: improve wording in documentation, add to Doxygen
2022-07-16 13:49:20 +02:00
Benjamin Valentin
d4a3521501 doc/doxygen: add gnrc_ipv6_auto_subnets.c to INPUT 2022-07-15 11:47:01 +02:00
Benjamin Valentin
c7ac22c892 gnrc/ipv6_auto_subnets: improve wording in documentation 2022-07-15 01:50:15 +02:00
Benjamin Valentin
d09d29a581 tests/unittests: add tests sock_dns_cache 2022-07-15 00:03:49 +02:00
Benjamin Valentin
077a41a719 sock_dns: implement DNS cache 2022-07-13 23:23:52 +02:00
Benjamin Valentin
34e11bf2bc sys/architecture: introduce uinttxtptr_t 2022-07-13 23:19:33 +02:00
benpicco
54544c0a36
Merge pull request #18131 from firas-hamdi/feat/apply_filters_to_target_mailbox
drivers/mcp2515: apply filters to target mailbox
2022-07-13 09:40:06 +02:00
Martine Lenders
a8254d52b8
Merge pull request #16705 from miri64/gcoap_dns/feat/initial
gcoap_dns: initial import of a DNS over CoAP (DoC) client
2022-07-13 02:27:17 +02:00
Martine Lenders
11dc836d61
Merge pull request #18307 from nmeum/pr/gnrc_dhcpv6_client_parse_reply
gnrc_dhcpv6_client: Fix out-of-bounds access during option parsing
2022-07-12 19:30:50 +02:00
benpicco
2198eb84c0
Merge pull request #18284 from jia200x/pr/gnrc_netif_move_tested_options
gnrc_netif: move `option_tested` to default init function
2022-07-11 22:57:57 +02:00
Sören Tempel
f073dcdb3d gnrc_dhcpv6_client: Fix out-of-bounds access during option parsing
The _parse_reply function iterates over the DHCPv6 message options
twice but only performs sanity checks on the option length in the
first iteration. As such, both loop iterations need to be identical.
Unfortunately, there aren't without this commit as (1) they use
different maximum length values and (2) the first iteration stops
parsing as soon as it encounters a zero option while the second
doesn't. As such, it is possible for out-of-bounds read to be
performed by the second loop iteration. This commit fixes this.
2022-07-11 22:55:33 +02:00
MrKevinWeiss
3095afafd2
sys/test_utils: add netdev ieee802154 minimal processing 2022-07-11 09:25:01 +02:00
Leandro Lanzieri
4a3231f763
drivers/kw2xrf: add setup function with global index
This index is used to register the network device.
2022-07-11 09:24:59 +02:00
chrysn
d9879c96ca
Merge pull request #16833 from chrysn-pull-requests/rust-lib
Add some Rust library building infrastructure
2022-07-10 21:39:35 +02:00
chrysn
5e75f4bd13 rust_riotmodules_standalone: This needs its Cargo.lock checked in
Of all the library crates, this is the only root crate, and responsible
for pinning good versions.
2022-07-10 21:27:13 +02:00
chrysn
68985aa6be rust_riotmodules: pub use instead of extern crate
See-Also: https://github.com/RIOT-OS/RIOT/pull/16833#issuecomment-1071243210
2022-07-10 21:27:13 +02:00
chrysn
ebfa6f61d6 shell/democommands: Add example Rust module 2022-07-10 21:27:12 +02:00
chrysn
841e4deee5 lsm303agr: New sensor driver using external Rust crate
It is enabled by saul_default on microbit-v2.

Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2022-07-10 21:27:12 +02:00
chrysn
ba76c6ee65 Rust: Add crates-to-module adapter 2022-07-09 21:15:29 +02:00
Martine Lenders
107a2a0753
gcoap_dns: initial import of a DNS over CoAP client 2022-07-01 18:44:02 +02:00
Sören Tempel
4dcb8edcc8 asymcute: Fix deadlocks in REGACK, SUBACK and UNSUBACK handler
The handlers for these MQTT message lock the connection mutex on
function entry. During automated testing of asymcute, I discovered
return paths for these function which do not unlock the connection
mutex. This results in a deadlock which prevents asymcute from
sending any further messages.
2022-07-01 00:55:07 +02:00
Martine Lenders
fda230eb7c
Merge pull request #18275 from maribu/sys/net/rpl/netstats
sys/net/gnrc/rpl: sync access to netstats
2022-07-01 12:24:24 +02:00
Firas Hamdi
bc0d3f9de3 drivers/mcp2515: apply the filter to a target mailbox
sys/include/can: add the mailbox target as a member to the filter structure

drivers/mcp2515: cleanup defines
2022-06-30 10:07:24 +02:00
Marian Buschsieweke
5a47d6a9b8
sys/net/gnrc/rpl: sync access to netstats
Synchronize the RPL thread updating the RPL netstats with the RPL
shell command reading it by disabling IRQs. This will prevent printing
corrupted data on non-32bit platforms as well as printing inconsistent
data (e.g. TX count of old state in conjunction with TX bytes of new
state) for all platforms.

Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2022-06-30 09:48:46 +02:00
Marian Buschsieweke
93d8bade8e
sys/net/gnrc/rpl: refactor netstats_rpl_t
There is a repeating pattern in the struct that is split out into a
subtype in this commit. This makes handling the data easier, as now
done in the print routine.
2022-06-30 09:48:45 +02:00
Jose Alamos
2c76dbf351
gnrc_netif: move option_tested to default init function 2022-06-29 17:48:27 +02:00
Martine Lenders
d9846e414f
Merge pull request #18269 from maribu/sys/net/netstats
sys/net/netopt: change NETOPT_STATS semantics
2022-06-29 15:52:03 +02:00
Marian Buschsieweke
973b6f69bf
sys/net/netopt: change NETOPT_STATS semantics
Instead of retrieving a pointer with NETOPT_STATS, retrieve the current
data. This avoids data corruptions when reading from one thread (e.g.
the thread running the shell (ifconfig command)) while another thread
is updating it (e.g. the netif thread).

The issue affects all boards, as users typically expect the count of
TX packets and the number of TX bytes to refer to the same state. For
16 bit and 8 bit platforms even a single netstat entry can read back
corrupted.

This fixes the issue by just copying the whole netstat_t struct over
without requiring explicit locking on the user side. A multi-threaded
network stack still needs to synchronize the thread responding to
netopt_get with the thread writing to the netstat_t structure, but that
is an implementation detail no relevant to the user of the API.
2022-06-28 16:57:43 +02:00
benpicco
5bb12f3e57
Merge pull request #18264 from jia200x/pr/submac_use_ieee802154_retrans_config
ieee802154: add default max frame retransmissions config
2022-06-28 16:00:51 +02:00
Jose Alamos
88e14f01a1
ieee802154/submac: use default config for max frame retransmissions 2022-06-27 14:51:16 +02:00
Jose Alamos
0a76a88dc8
ieee802154: add default max frame retransmissions config 2022-06-27 14:50:54 +02:00
Benjamin Valentin
5b7d9be254 net/eui_provider: provide netif index to EUI provder function
An EUI provider can provide EUIs for multiple interfaces based on
their index.

For this is should get the index of the interface, not the index of
the EUI provider.
2022-06-23 22:30:24 +02:00
Benjamin Valentin
0b3f66f0db sys/net/gnrc_pktbuf_static: fix documentation of use-after-free detection 2022-06-23 00:31:32 +02:00
chrysn
5852167772
Merge pull request #18227 from benpicco/gnrc_pktbuf_static-use-after-free
sys/net/gnrc_pktbuf_static: add use-after-free detection
2022-06-22 21:28:28 +02:00
Benjamin Valentin
a165093b10 sys/net/gnrc_pktbuf_static: add use-after-free detection 2022-06-22 15:41:15 +02:00
benpicco
45aa420c42
Merge pull request #18241 from benpicco/fatfs_vfs_name_max
sys/vfs: FATFS_VFS_FILE_BUFFER_SIZE depends on VFS_NAME_MAX
2022-06-22 13:54:31 +02:00
Marian Buschsieweke
b2ff5b02bd
Merge pull request #18242 from benpicco/nanocoap-debug
nanocoap_sock: fix debug output
2022-06-22 13:54:24 +02:00
Martine Lenders
4ed3b1a43c
Merge pull request #17078 from yarrick/ifconfig_order
sys/shell/gnrc_netif: List netifs in registration order
2022-06-22 09:33:58 +02:00
Benjamin Valentin
8c4e5629d1 nanocoap_sock: fix debug output 2022-06-21 23:06:33 +02:00
Benjamin Valentin
de91fc4b3a sys/vfs: FATFS_VFS_FILE_BUFFER_SIZE depends on VFS_NAME_MAX
e.g. try CFLAGS += -DVFS_NAME_MAX=39
2022-06-21 18:02:54 +02:00
Martine Lenders
03dfad899b
Merge pull request #17834 from haukepetersen/opt_skald_advitvlconfig
net/ble/skald: make advertising interval configurable per context
2022-06-21 13:31:57 +02:00
Erik Ekman
aaa73b79ed sys/shell/gnrc_netif: List netifs in registration order
The netif list is used like a stack, so it needs to be
iterated in reverse to keep the registration order.

Time complexity in O(n^2), but the the list is normally very short
(1-2 items).

Before:
```
> ifconfig
Iface  10  HWaddr: 24:0A:C4:E6:0E:9C  Channel: 0  Link: down
[..]

Iface  7  HWaddr: 24:0A:C4:E6:0E:9F  Link: down
[..]
```

Now they are in the increasing order:
```
> ifconfig
Iface  7  HWaddr: 24:0A:C4:E6:0E:9F  Link: down
[..]

Iface  10  HWaddr: 24:0A:C4:E6:0E:9C  Channel: 0  Link: down
[..]
```

When lwIP is hacked to use the same shell command, it also
lists it interfaces in the expected order (was ET1,ET0 before):
```
> ifconfig
Iface  ET0  HWaddr: 24:0A:C4:E6:0E:9F  Link: down
[..]

Iface  ET1  HWaddr: 24:0A:C4:E6:0E:9C  Channel: 0  Link: down
[..]
```
2022-06-21 11:54:08 +02:00
Benjamin Valentin
14afafa2d2 gnrc_pktbuf: fix gnrc_pktbuf_contains() 2022-06-17 19:58:01 +02:00
Gunar Schorcht
934c65fb2e
Merge pull request #18212 from benpicco/kernel_defines-CONST
core/kernel_defines: drop CONST definition
2022-06-17 17:45:46 +02:00
Benjamin Valentin
11e40a9d61 nanocoap_sock: fix wrong assertion
The assertion is a bit overeager.
In case of receiving a wrong message ID, we re-try receive without
entering the STATE_REQUEST_SEND state again, so it is expected that
we get a non-NULL ctx/response from sock_udp_recv_buf().

What this assert should actually check is that we don't get a non-NULL
ctx after calling sock_udp_recv_buf() with a non-NULL ctx.

So make this explicit to not falsely fail the assertion.
2022-06-16 18:54:16 +02:00
Benjamin Valentin
7bc1fea55a sys/tm: drop CONST 2022-06-16 15:26:27 +02:00
Marian Buschsieweke
dd6243f27f
Merge pull request #18213 from maribu/sys/shell/commands/sc_lwip_netif.c
sys/shell/commands/sc_lwip_netif.c: add address state
2022-06-16 13:38:55 +02:00
benpicco
0a16f8266a
Merge pull request #17962 from benpicco/nanocoap_vfs-put
nanocoap_vfs: add nanocoap_vfs_put()
2022-06-16 11:53:36 +02:00
Marian Buschsieweke
3954217fdf
sys/shell/commands/sc_lwip_netif.c: add address state
Add information about the address state (e.g. if it is valid, preferred,
tentative, how many probes have been sent)
2022-06-16 08:40:42 +02:00
benpicco
6a15ad4df2
Merge pull request #18179 from maribu/sys/shell_commands
sys/shell/commands: add static qualifier where appropriate
2022-06-14 10:06:07 +02:00
Benjamin Valentin
148651a94d sys/fs/constfs: allow to host arbitrary data
Don't require data to be a uint8_t array to to be casted into one.
2022-06-12 19:39:27 +02:00
benpicco
d797b74b0b
Merge pull request #18196 from gschorcht/sys/rtc_utils_doc_fix
sys/rtc_utils: small doc fix of rtc_mktime
2022-06-12 17:14:21 +02:00
Gunar Schorcht
8a5e632b2f sys/rtc_utils: small doc fix of rtc_mktime 2022-06-12 15:49:01 +02:00
Marian Buschsieweke
4f769c2f55
sys/shell/commands: add static qualifier where appropriate
Due to the conversion to XFA based SHELL_COMMAND() much fewer function
need to expose a symbol. Hence, spray `static` all over the place.
2022-06-11 14:38:58 +02:00
benpicco
593b5d376d
Merge pull request #18186 from maribu/sys/fmt
sys/fmt: fix output on native
2022-06-11 08:07:22 +02:00
Marian Buschsieweke
85cf4aef03
sys/net/ipv6: fix ipv6_addrs_print()
Fix incorrect printing of the separator after the last item.
2022-06-10 11:02:42 +02:00
Marian Buschsieweke
4f9e35254a
sys/fmt: fix print() for native 2022-06-10 11:02:40 +02:00
Benjamin Valentin
d102bf90ea gnrc/ipv6_auto_subnets: always send RIO to upstream network
In a881af8b08 we would return early if the subnet did not change,
but we must still send the router advertisement with the route information
option to the upstream network, otherwise hosts in that network will not
consider the downstream subnet off-link.
2022-06-09 17:25:20 +02:00
Benjamin Valentin
d8da1b631c sys/shell: add 'ncput' shell command 2022-06-08 17:21:19 +02:00
Benjamin Valentin
bb42f6a2f4 nanocoap_vfs: add nanocoap_vfs_put() 2022-06-08 17:19:03 +02:00
Benjamin Valentin
3adda46cec nanocoap: add coap_size2szx() 2022-06-08 17:19:03 +02:00