benpicco
3706589959
Merge pull request #20834 from derMihai/mir/nib/drop_for_unreachable_rebase
...
gnrc/ipv6/nib: don't queue packets on 6lo neighbors and drop/flush if…
2024-10-16 09:16:40 +00:00
Mihai Renea
3a5612ee57
gnrc/ipv6/nib: don't queue packets on 6lo neighbors and drop/flush if UNREACHABLE
2024-10-16 09:01:36 +02:00
Mikolai Gütschow
f0e6776d40
treewide: apply codespell corrections
2024-10-09 13:03:52 +02:00
Teufelchen1
51537908d1
gnrc_lorawan: Ensure minimal packet length
2024-10-01 12:11:05 +02:00
Benjamin Valentin
0b99d4fffe
gnrc_sixlowpan_frag: enable gnrc_netif_pktq if netdev_new_api is used
2024-09-30 14:07:35 +02:00
benpicco
5c06502c4d
Merge pull request #20835 from xnumad/nib-route-hide-on-link-prefixes
...
gnrc/ipv6: `nib route`: hide off-link PLEs
2024-09-24 15:42:48 +00:00
xnumad
92b77ed944
gnrc_ipv6_nib: refactor
...
Co-Authored-By: benpicco <benpicco@googlemail.com>
2024-09-18 16:09:58 +02:00
benpicco
73e90c5049
Merge pull request #20371 from xnumad/nib-next-hop-addr
...
gnrc_ipv6_nib: Force unspecified next hop addresses
2024-09-02 12:13:28 +00:00
xnumad
8b73628dc8
gnrc_ipv6_nib: refactor
...
Invert condition, add assert
2024-08-31 10:40:17 +02:00
xnumad
606a11b87d
gnrc_ipv6_nib: fix: offl-only: overwrite unspecified address
...
Co-Authored-By: fabian18 <15147337+fabian18@users.noreply.github.com>
2024-08-26 18:26:57 +02:00
xnumad
48a2417892
gnrc/ipv6: nib route
: hide off-link PLEs
2024-08-26 16:30:58 +02:00
Daniel Lockau
7240d37fc2
nib.c: allow selection of interfaces for static link local addresses
2024-08-26 08:31:21 +02:00
xnumad
3ab7896b18
gnrc_ipv6_nib: Force unspecified next hop addresses
2024-07-29 20:10:13 +02:00
benpicco
9781bc0ad3
Merge pull request #20757 from xnumad/offl-lifetimes
...
gnrc/ipv6: Store all SLAAC prefixes
2024-07-29 14:06:22 +00:00
Benjamin Valentin
312a550f1a
treewide: remove THREAD_CREATE_STACKTEST from thread creation
2024-07-29 11:45:58 +02:00
xnumad
e25066768b
gnrc/ipv6: Store all SLAAC prefixes
...
Incl. off-link ones, since lifetimes for the autoconfigured addresses are managed by the prefix entry.
2024-07-28 09:53:55 +02:00
xnumad
81a1e997f0
gnrc/ipv6: fix: Overflow in sent packet
2024-07-03 20:15:04 +02:00
xnumad
1e4a85f1e6
gnrc/ipv6: fix: Avoid overflow if prefix already expired
...
Check similarly to `_handle_pfx_timeout`
2024-07-03 20:14:45 +02:00
fabian18
d6d9d5f3da
Merge pull request #20329 from fabian18/nib_rtr_fixes
...
nib: some fixes when a router or a prefix is deleted
2024-06-10 08:38:49 +00:00
Benjamin Valentin
d26a95193a
sys/net/gnrc_sock: add support for ZTIMER_MSEC
2024-05-21 23:58:28 +02:00
benpicco
3f41494e59
Merge pull request #20266 from benpicco/nanocoap_reply_separate
...
nanocoap_sock: implement separate response
2024-05-21 17:45:22 +00:00
Benjamin Valentin
42754b58ea
gnrc_sock_udp: set source port when aux local is present
2024-05-21 19:25:55 +02:00
Martine Lenders
3927a4fd17
Merge pull request #20660 from maribu/sys/net/grnc/fix-compilation-with-gcc-14-1-0
...
sys/net/grnc: fix NULL ptr dereferencing
2024-05-09 15:00:53 +00:00
Marian Buschsieweke
abd7205115
sys/net/grnc: fix NULL ptr dereferencing
...
This bug was spotted by GCC 14.1.0:
In file included from /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.h:27,
from /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.h:33,
from /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.h:30,
from /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c:28:
In function 'bf_isset',
inlined from '_build_ext_opts' at /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c:256:17,
inlined from '_snd_ra' at /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c:368:20,
inlined from '_snd_rtr_advs' at /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c:99:9:
/home/maribu/Repos/software/RIOT/master/sys/include/bitfield.h:130:18: error: array subscript 0 is outside array bounds of 'uint8_t[0]' {aka 'unsigned char[]'} [-Werror=array-bounds=]
130 | return (field[idx / 8] & (1u << (7 - (idx % 8))));
| ~~~~~^~~~~~~~~
In function '_snd_rtr_advs':
cc1: note: source object is likely at address zero
cc1: all warnings being treated as errors
2024-05-09 12:03:54 +02:00
Marian Buschsieweke
6ac1bcad7e
sys/net/gnrc/gnrc_netif: fix compilation with new netdev API
...
This fixes a regression introduced in #18496
2024-05-08 21:06:00 +02:00
Stefan Schmidt
9d62ad4c5c
driver/w5500: driver for the W5500 ethernet chip
...
- driver can be used with interrupt or in polling mode (default)
2024-05-02 22:07:17 +02:00
Benjamin Valentin
0fb153daca
gnrc_sock/udp: add option to disable remote address check
...
If a server has e.g. multiple global IPv6 addresses, it might
respond with a different address that the one it received the request on.
This is against the CoAP spec, but that doesn't stop existing implementations
from doing it.
2024-04-10 12:25:49 +02:00
Martine Lenders
810f1a98cb
gnrc_lorawan: Remove gnrc_nettype_lorawan
dependency
...
With the removal of `CONFIG_GNRC_NETIF_LORAWAN_NETIF_HDR` it does not
use `GNRC_NETTYPE_LORAWAN` anymore, so this module is not required
anymore.
2024-03-28 09:19:35 +01:00
Martine Lenders
549f215701
gnrc_nettype: deprecate GNRC_NETTYPE_LORAWAN
2024-03-28 09:19:35 +01:00
Martine Lenders
5c75f84d6e
gnrc_netif: remove deprecated CONFIG_GNRC_NETIF_LORAWAN_NETIF_HDR
2024-03-28 09:19:33 +01:00
Marian Buschsieweke
04620d471c
Merge pull request #20438 from MrKevinWeiss/pr/kconfig/dep/removal
...
Remove Kconfig dependency modelling
2024-03-27 16:39:56 +00:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01:00
Francois Berder
9056e14e74
gnrc/gomach: Reduce code duplication
...
The function gomach_vtdma_end is nearly identical to _no_vtdma_after_cp
expect the first few lines. This commit replaces the duplicating code
in gomach_vtdma_end by a call to _no_vtdma_after_cp.
Signed-off-by: Francois Berder <fberder@outlook.fr>
2024-03-26 15:30:56 +01:00
Francois Berder
7523bb08a3
gnrc/lwmac: Reduce code duplication
...
Both _rx_management_failed and _rx_management_success functions
attempt to sleep after handling the packet reception
failure/success. This commit extracts the sleep attempt in a
new _rx_management_attempt_sleep function.
Signed-off-by: Francois Berder <fberder@outlook.fr>
2024-03-26 15:30:56 +01:00
Dylan Laduranty
1bbb020fe2
treewide: remove deprecated gnrc_netif_cmd_lora module
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-14 21:50:23 +01:00
Dylan Laduranty
67b8c6709c
treewide: remove deprecated gnrc_pktbuf_cmd module
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-14 21:48:29 +01:00
Dylan Laduranty
6796b93fc9
treewide: remove deprecated gnrc_netdev_default module
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-14 21:42:12 +01:00
Fabian Hüßler
96480008ca
ipv6/nib: _handle_rtr_timeout() do not blindly delete offlink entry
2024-03-09 11:02:12 +01:00
Fabian Hüßler
1d3b320c2e
ipv6/nib: _nib_offl_clear() delete offlink entry when mode is not zero
2024-03-09 11:02:12 +01:00
Benjamin Valentin
233902b3d5
gnrc/ipv6_auto_subnets: clarify documentation
2024-03-05 17:32:39 +01:00
xnumad
23d3ccde6b
gnrc_ipv6_nib: Ignore PIO with on-link flag
2024-02-22 17:52:17 +01:00
Fabian Hüßler
d5d4fc869a
ipv6/nib: delete DC entries, referencing a deleted DR
2024-02-07 10:12:14 +01:00
benpicco
83f3c4a396
Merge pull request #20342 from fabian18/pr/fix_router_lifetime_and_ft_add_api
...
ipv6/nib: fix router lifetime handling in RIO and fix gnrc_ipv6_nib_ft_add() api
2024-02-06 19:38:12 +00:00
Fabian Hüßler
fef5c8c5d8
ipv6/nib: fix lifetime handling in RIO handling
2024-02-06 18:35:05 +01:00
Fabian Hüßler
c4ae9063e9
ipv6/nib: fix gnrc_ipv6_nib_ft_add API and catch overflovs
2024-02-06 18:35:05 +01:00
Martine Lenders
a16199f846
Merge pull request #20343 from fabian18/pr/fix_ipv6_nib_cancel_timers
...
ipv6/nib: cancel timers when NIB entry gets deleted
2024-02-06 16:24:11 +00:00
Fabian Hüßler
2b8b828a53
ipv6/nib: move internal event timer API up
2024-02-06 10:30:59 +01:00
Fabian Hüßler
eb1a827e21
ipv6/nib: delete router timeout when router is deleted
2024-02-06 10:29:48 +01:00
Fabian Hüßler
f8a64e74c4
ipv6/nib: delete route timeout when forward table entry is deleted
2024-02-06 10:29:40 +01:00
Fabian Hüßler
de4142de37
ipv6/nib: delete prefix timeout when prefix list entry is deleted
2024-02-06 10:29:30 +01:00