1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-23 21:43:51 +01:00

2417 Commits

Author SHA1 Message Date
benpicco
cdfdd215f4
Merge pull request #21454 from benpicco/gnrc_ipv6_nib_get_next_hop_l2addr-cleanup
gnrc/ipv6/nib: clean up `gnrc_ipv6_nib_get_next_hop_l2addr()`
2025-07-24 11:35:14 +00:00
Marian Buschsieweke
091acb39f6
Merge pull request #21002 from benpicco/netstats_nb-new_api
gnrc_netif: fix neighbor statistics with netdev_new_api
2025-07-23 16:14:32 +00:00
crasbe
d271fc88a4
Merge pull request #21617 from Teufelchen1/deprecate/gnrc_mac
net/mac: Remove deprecated 802.15.4 MAC module
2025-07-21 20:45:24 +00:00
Teufelchen1
944eb05727 net/mac: Remove deprecated 802.15.4 module 2025-07-21 12:57:15 +02:00
Teufelchen
1c1bbf324b
Merge pull request #21585 from elenaf9/rpl/fix-local-repair
gnrc/rpl: check old rank before removing parents
2025-07-21 08:12:31 +00:00
Teufelchen
1345452bbe
Merge pull request #21603 from Teufelchen1/deprecate/lwmac
net/lwmac: Remove deprecated lwmac module
2025-07-18 08:34:57 +00:00
Gunar Schorcht
98469c0175 sys/net/gnrc/netif: add ESP32x IEEE802.15.4 auto init 2025-07-15 14:35:31 +02:00
Teufelchen1
8970d751c4 net/lwmac: Remove deprecated lwmac module 2025-07-15 11:38:37 +02:00
Teufelchen1
f027626f3c net/gomach: Remove deprecated GoMach module 2025-07-14 13:18:20 +02:00
Elena Frank
2d4542ebc9 gnrc/rpl: check old rank before removing parents
`gnrc_rpl_dodag_remove_all_parents` sets the node's rank in the DODAG to
`GNRC_RPL_INFINITE_RANK`, so checking the (old) rank should be done
before that function call.
2025-07-08 20:10:06 +02:00
Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
KSKNico
e6b17fa5cb sys: replace header guards with #pragma once 2025-05-16 19:40:06 +02:00
Benjamin Valentin
80cfb41da1 gnrc/ipv6/nib: clean up gnrc_ipv6_nib_get_next_hop_l2addr() 2025-05-07 16:16:08 +02:00
Benjamin Valentin
ba23c77a4d gnrc/ipv6/nib: add option to disable router solicitations 2025-04-25 00:23:00 +02:00
Marian Buschsieweke
4ce7ab2133
tree-wide: fix documentation issues
This should fix compilation with -Wdocumentation on LLVM.
2025-04-10 13:37:13 +02:00
Marian Buschsieweke
db0be36345
tree-wide: mixed back of documentation fixes
This fixes a number of documentation issues that LLVM/clang would flag
with `-Wdocumentation`.
2025-04-07 15:59:13 +02:00
Marian Buschsieweke
c1aee234ee
Merge pull request #21357 from maribu/tree-wide/dox-fixes
tree wide: various doc fixes
2025-04-05 17:57:43 +00:00
Benjamin Valentin
291c064ab5 gnrc_sock/udp: zero-init sock struct on create 2025-04-04 15:53:37 +02:00
Marian Buschsieweke
1ff982a664
tree wide: various doc fixes
This fixes a batch of incorrect Doxygen comments that building with
LLVM/clang and `-Wdocumentation` uncovered.
2025-04-04 11:44:53 +02:00
Marian Buschsieweke
5869c2c271
Merge pull request #21180 from derMihai/mir/sock_udp/cancel_async_mainline
net_sock_async_event: cancel async event on sock_*_close()
2025-03-20 06:10:26 +00:00
MrKevinWeiss
f770f72202
treewide: Fix spelling mistakes 2025-03-13 13:59:07 +01:00
Mihai Renea
0f25aecceb sock/async: cancel sock async events when closing the socket 2025-02-12 16:41:59 +01:00
Joshua DeWeese
9b2782d020
Merge pull request #21126 from maribu/sys/net/gnrc_sock/drop-timer-workaround
Revert "sock/udp: work around gnrc_sock_recv() returning early timeout"
2025-01-20 11:58:08 +00:00
Kevin "Tristate Tom" Weiss
8302223ba1
Merge pull request #21137 from benpicco/gnrc_netif_ipv6_wait_for_global_address-fix_timeout
gnrc_netif: fix timeout in `gnrc_netif_ipv6_wait_for_global_address()`
2025-01-20 10:03:17 +00:00
benpicco
cefa182d2b
Merge pull request #21080 from benpicco/gnrc_ipv6_auto_subnets_eui
gnrc/ipv6_auto_subnets: add option to derive subnet prefix from EUI
2025-01-16 17:19:54 +00:00
Benjamin Valentin
a95bd508a5 gnrc_netif: fix timeout in gnrc_netif_ipv6_wait_for_global_address() 2025-01-16 16:07:40 +01:00
Benjamin Valentin
698d414733 gnrc/ipv6_auto_subnets: add gnrc_ipv6_auto_subnets_eui 2025-01-13 15:52:25 +01:00
Marian Buschsieweke
c562b6cbe9
Revert "sock/udp: work around gnrc_sock_recv() returning early timeout"
This reverts commit e3d00682bcad2e0f26ee15b1c73d5da022b18786, which
added a work around for two bugs:

- ztimer triggering too early (fixed in
  https://github.com/RIOT-OS/RIOT/pull/20924)
- gnrc_sock_recv() returning when an old "timeout" message is still
  in the message queue (fixed in
  https://github.com/RIOT-OS/RIOT/pull/21113)

With those bugs fixed, the work around should not longer be needed.
2025-01-10 21:25:34 +01:00
Benjamin Valentin
64c10f33a1 gnrc/ipv6_auto_subnets: unicast RA if upstream is 6lo 2025-01-10 18:56:42 +01:00
Marian Buschsieweke
56ea5cd3d0
sys/net/gnrc_sock: fix race in gnrc_sock_recv()
Implement the timeout using ztimer_mbox_get_timeout() to fix a race
condition.
2025-01-10 16:19:00 +01:00
Benjamin Valentin
2a6b8a3fed gnrc_netif: use different error messages for can't queue packet 2024-11-22 19:50:20 +01:00
benpicco
2bce94a7c7
Merge pull request #21012 from benpicco/netdev_new_api-relax
netdev_new_api: allow `.send()` to return > 0 to signal synchronos send
2024-11-20 22:28:26 +00:00
Benjamin Valentin
a86411b81e drivers/netdev: allow .send() to return > 0 to signal synchronos send 2024-11-20 16:40:36 +01:00
Benjamin Valentin
83f5b261a8 sys/net/gnrc_pktbuf: detect use after free if canary is in metadata 2024-11-19 15:23:03 +01:00
Benjamin Valentin
ea1670ab0f sys/net/gnrc_pktbuf: move CANARY to header file 2024-11-19 15:23:03 +01:00
Benjamin Valentin
278e8f53b7 sys/net/gnrc_pktbuf: fail assertion if illegal memory was freed 2024-11-19 15:23:03 +01:00
Benjamin Valentin
6a1f1baddf gnrc_netif: fix neighbor statistics with netdev_new_api 2024-11-18 17:03:00 +01:00
benpicco
aee4c1ef9c
Merge pull request #20984 from benpicco/gnrc_pktsnip_t-shrink
sys/net/gnrc/pkt: use `uint8_t` for user count
2024-11-17 17:29:16 +00:00
Marian Buschsieweke
51f969d655
Merge pull request #20993 from benpicco/netdev_new_api-enhance
gnrc_netif: netdev_new_api implies TX end irq, no need to check it
2024-11-17 08:45:19 +00:00
Marian Buschsieweke
2adb4042b3
Merge pull request #20974 from benpicco/gnrc_pktbuf_static-double-free
sys/net/gnrc_pktbuf_static: add double free detection
2024-11-16 09:03:42 +00:00
Marian Buschsieweke
fbf5c66f78
Merge pull request #20983 from benpicco/gnrc_netif_netdev_new_api-leak
gnrc_netif: fix packet leak with gnrc_netif_pktq & netdev_new_api
2024-11-15 22:46:54 +00:00
Benjamin Valentin
300a936e42 gnrc: add comment about gnrc_pktbuf_hold() use 2024-11-15 16:59:08 +01:00
Benjamin Valentin
e8b3b4d3e4 gnrc_pktbuf: assert that user count does not exceed 255 2024-11-15 16:41:42 +01:00
Benjamin Valentin
f82c41e96f gnrc_netif: netdev_new_api implies TX end irq, no need to check it 2024-11-14 17:11:58 +01:00
Benjamin Valentin
8eef1c1170 sys/net/gnrc/netif: don't release snip with netdev_new_api 2024-11-14 11:57:58 +01:00
Benjamin Valentin
b9b8c4a68f gnrc_netif: fix packet leak with gnrc_netif_pktq & netdev_new_api 2024-11-13 13:40:13 +01:00
Marian Buschsieweke
2623762c16
Merge pull request #20977 from maribu/net/grnc/tcp/select-netif
sys/net/gnrc/tcp: fix gnrc_tcp_open() netif handling
2024-11-13 05:31:00 +00:00
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
0bed0c6bfe gnrc_netif: fix double free with netdev_new_api & gnrc_netif_pktq 2024-11-11 20:30:30 +01:00
Benjamin Valentin
982af61c82 sys/net/gnrc_pktbuf_static: make hexdump optional 2024-11-11 15:17:40 +01:00