Martine Lenders
53ed211fc9
Merge pull request #16175 from miri64/gnrc_sixlowpan_frag_sfr/enh/mark-ecn
...
gnrc_sixlowpan_frag_sfr: add support for queue-based ECN
2022-10-15 14:01:44 +02:00
Martine Lenders
8dcc5d07ba
gnrc_sixlowpan_config: resolve ECN at the earliest convenience
2022-10-12 18:02:18 +02:00
Martine Lenders
653d08281b
gnrc_sixlowpan_frag_sfr: add support for queue-based ECN
2022-10-12 18:02:18 +02:00
Martine Lenders
ab32ad5030
gnrc_ipv6_nib: auto-configure link-local address on UP event
2022-10-11 22:57:00 +02:00
Martine Lenders
47aaa94157
gnrc_ipv6_nib: handle iface_up/iface_down in IPv6 thread
2022-10-07 14:12:00 +02:00
Fabian Hüßler
23fa33774f
nib/_nib-6ln: correct ABR timeout in ABRO
2022-09-29 10:48:49 +02:00
Benjamin Valentin
7211aa11af
ipv6/nib: add gnrc_ipv6_nib_iface_{up, down}()
2022-09-16 22:57:06 +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
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
Martine Lenders
fe3d620a63
gnrc_ipv6_nib: make configurable via Kconfig again
2022-07-22 17:51:57 +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
Martine Lenders
078bced8e1
Merge pull request #16090 from maribu/gnrc_tx_sync_frag_sfr
...
sys/net/gnrc: add gnrc_tx_sync for gnrc_sixlowpan_frag_sfr
2022-05-24 03:38:38 +02:00
Martine Lenders
a5cc629fb8
Merge pull request #18127 from benpicco/gnrc/nib-no_default_router_from_wpan
...
gnrc/nib: don't add routers from WPAN as default router on the 6LBR
2022-05-24 00:38:43 +02:00
Benjamin Valentin
f544890056
gnrc/nib: don't add routers from WPAN as default router for 6LBR
...
This avoids a race condition where the default router slots for the 6LBR
are used up by router advertisements from the 6Lo network that arrived
before router advertisements from the upstream network.
The border router should ignore 'default routers' from the 6Lo network as
it consitutes the uplink for that network.
2022-05-23 16:44:58 +02:00
Martine Lenders
3398898e76
gnrc_ipv6_nib: fix inconsistent ABR valid lifetime representation
2022-05-23 14:21:25 +02:00
Marian Buschsieweke
e4098d4b0d
sys/net/gnrc: add gnrc_tx_sync for gnrc_sixlowpan_frag_sfr
...
Implement TX synchronization for gnrc_sixlowpan_frag_sfr
2022-05-17 14:01:57 +02:00
fabian18
5643b52879
Merge pull request #17814 from fabian18/bugfix_nib_sllao_in_NS_6LR
...
ipv6/nib: bugfix handle SLLAO on 6LR if ARO is not present
2022-04-18 17:54:04 +02:00
Fabian Hüßler
560e43ae56
ipv6/nib: bugfix handle SLLAO on 6LR if ARO is not present
2022-04-18 00:09:53 +02:00
benpicco
3e03fe669a
Merge pull request #17600 from benpicco/gnrc/nib-ra_on_ra
...
gnrc/nib: only enable RTR_ADV on RA if MULTIHOP_P6C is enabled
2022-04-13 18:44:10 +02:00
Fabian Hüßler
2139b51cb5
gnrc/nib: only enable RTR_ADV on RA if MULTIHOP_P6C is enabled
...
If multihop distribution is not done using RA messages, then the
routers follow [RFC4861], which states that they merely do some
consistency checks; in this case, nothing in Section 8.1 applies.
- https://datatracker.ietf.org/doc/html/rfc6775#section-8.1
2022-04-13 00:20:52 +02:00
benpicco
e97ef479d6
Merge pull request #17778 from fabian18/bugfix_ndp_override_flag_for_non_anycast
...
gnrc/ndp: bugfix set O-flag if target is not anycast
2022-04-04 01:09:51 +02:00
fabian18
c0f26fcaaa
Merge pull request #17803 from benpicco/gnrc/ipv6/nib-adv_address
...
gnrc/nib: don't advertise single address for auto-configuration
2022-03-29 10:49:54 +02:00
Fabian Hüßler
77cbe15b1d
ipv6/nib: bugfix of 6CO length checking
2022-03-24 10:06:56 +01:00
Benjamin Valentin
15f210e4e4
gnrc/nib: don't advertise /128 prefix for auto-configuration
...
A single IP address will be added as a /128 prefix.
It makes sense to advertise it, as neighbors can then know that
the address/prefix is on-link.
It does however not make sense to advertise the prefix as suitable
for auto-configuration.
Co-authored-by: Fabian Hüßler <fabian.huessler@st.ovgu.de>
2022-03-22 20:52:38 +01:00
Fabian Hüßler
bc3dfd4fda
gnrc/ndp: bugfix set O-flag on non anycast target
2022-03-22 13:03:28 +01:00
Martine Lenders
bec2868223
Merge pull request #17676 from benpicco/revert-gnrc_ipv6_nib-all_ifs
...
Revert "gnrc_ipv6_nib: consider all local interfaces when looking for…
2022-03-14 10:31:16 +01:00
benpicco
a9456b6935
Merge pull request #17741 from fabian18/bugfix-NIB_handle_rtr_timeout
...
ipv6/nib: fix memcpy() bug in _handle_rtr_timeout()
2022-03-07 13:39:05 +01:00
Fabian Hüßler
6916f72419
ipv6/nib: fix memcpy() bug in _handle_rtr_timeout
2022-03-03 23:35:06 +01:00
Karl Fessel
d03175c2ae
net/gnrc: avoid *timer creeping though header
2022-02-28 14:53:07 +01:00
Benjamin Valentin
32c89e72ef
Revert "gnrc_ipv6_nib: consider all local interfaces when looking for address"
...
This reverts commit 8871b929ab
.
2022-02-17 19:27:48 +01:00
Francisco Molina
13bb00f863
sys/net/gnrc_sixlowpan_frag_sfr: use xtimer_is_set
2022-02-17 08:29:21 +01:00
Karl Fessel
505ce8481b
gnrc/ipv6nib: remove the need for evtimer-minutes
...
gnrc/nib: add unitmarker to valid_untils that where min and are now ms
2022-01-13 15:17:24 +01:00
Gunar Schorcht
8c044c0163
gnrc/ipv6_ext_opt: fix compilation with NDEBUG
2021-12-09 16:44:19 +01:00
Marian Buschsieweke
6907bdf140
sys/net/gnrc: make cppcheck happy
2021-11-30 11:20:20 +01:00
Marian Buschsieweke
50be359a96
sys/net/gnrc: fix compilation with -Wcast-align
...
Also ensure that the alignment requirement is indeed matched.
2021-11-30 11:20:17 +01:00
Benjamin Valentin
0e7b8d09d5
gnrc_ipv6_nib: fix setting RIO flags
...
We have to use NDP_OPT_RI_FLAGS_MASK, not NDP_OPT_PI_FLAGS_MASK.
This fixes flags always being 0.
2021-10-15 15:49:13 +02:00
Martine Lenders
e804a738de
Merge pull request #16947 from miri64/gnrc_ipv6_nib/fix/queue-pkts-on-6lbr
...
gnrc_ipv6_nib: queue packets that trigger probing on border router
2021-10-05 14:01:17 +02:00
Martine Lenders
96eb2c5050
Merge pull request #16731 from JKRhb/dhcp-stateless
...
sys/net/dhcpv6: Add stateless DHCPv6
2021-10-05 10:13:22 +02:00
Jan Romann
c62d6eb834
sys/net/dhcpv6: Implement stateless DHCPv6
2021-10-04 17:40:56 +02:00
Martine Lenders
b8691842fb
gnrc_ipv6_nib: queue packets that trigger probing on border router
2021-10-04 17:25:36 +02:00
Benjamin Valentin
f4828cc7ae
gnrc_ipv6_nib: add hook for Prefix Information Option
2021-09-02 15:35:14 +02:00
Martine Lenders
eace9495b4
Merge pull request #16729 from benpicco/_nib_offl_remove_prefix
...
gnrc/nib: consolidate prefix removal code in _nib_offl_remove_prefix()
2021-08-26 19:17:21 +02:00
Benjamin Valentin
10887ebb19
gnrc/nib: consolidate prefix removal code in _nib_offl_remove_prefix()
2021-08-25 17:23:21 +02:00
benpicco
3d0e5509dc
Merge pull request #16734 from benpicco/_handle_rio-ltime
...
gnrc_ipv6_nib: handle route information option with ltime = 0
2021-08-24 10:20:02 +02:00
Benjamin Valentin
0ead10e79a
gnrc_ipv6_nib: handle route information option with ltime = 0
2021-08-13 21:35:48 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Martine Lenders
f2f6700865
Merge pull request #16228 from JKRhb/dhcp-ia-na
...
sys/net/dhcpv6: Add IA_NA support to the DHCPv6 client
2021-08-11 20:50:01 +02:00
Jan Romann
234a71870a
sys/net/dhcpv6: Add IA_NA implementation
2021-08-11 19:15:35 +02:00
Martine Lenders
de3e5f964a
Merge pull request #16671 from benpicco/gnrc/nib-_nib_onl_get-fix
...
gnrc/nib: gnrc_ipv6_nib_get_next_hop_l2addr(): only assume neighbor cache entries to always be on-link
2021-08-11 12:17:38 +02:00
Martine Lenders
c86bd7454c
Merge pull request #16557 from benpicco/gnrc_ipv6_nib-fib_on-link
...
gnrc_ipv6_nib: consider largest prefix match when deciding if host on-link
2021-08-09 18:53:40 +02:00