Benjamin Valentin
b13b942e18
gnrc/ipv6_auto_subnets: allow to join multiple subnets
2022-05-12 00:44:18 +02:00
Benjamin Valentin
83d7d05885
gnrc/link_layer: don't set NETOPT_RX_END_IRQ
2022-05-11 13:58:06 +02:00
Benjamin Valentin
03a669c407
gnrc_netif: remove warning about NETOPT_RX_END_IRQ
2022-05-11 13:56:47 +02:00
Jose Alamos
869c5f37a7
link_layer/lwmac: use event queue for ISR offload
2022-05-10 17:48:43 +02:00
Jose Alamos
6040747f33
link_layer/gomach: use event queue for ISR offload
2022-05-10 17:48:43 +02:00
Jose Alamos
081dfe0e64
gnrc_netif: use event queue for ISR offload
2022-05-10 17:48:42 +02:00
Jose Alamos
38798cb877
gnrc_netif: use events instead of msg queue for ISR offload
2022-05-10 17:48:42 +02:00
Benjamin Valentin
1c1cb481da
gnrc/ipv6_auto_subnets: only use prefix meant for address configuration
2022-05-10 16:41:20 +02:00
Marian Buschsieweke
eadd282cf4
Merge pull request #18026 from benpicco/gcoap_add_fix
...
gcoap: ensure response address is the same as request address
2022-05-10 10:49:56 +02:00
Benjamin Valentin
cc8b4f52aa
grnc_sock_udp: implement SOCK_AUX_SET_LOCAL
2022-05-10 09:24:56 +02:00
Benjamin Valentin
2197f9c16a
grnc_sock_ip: implement SOCK_AUX_SET_LOCAL
2022-05-10 09:24:56 +02:00
Benjamin Valentin
cbd48c23aa
gnrc_sock: implicitly set netif if there is only a single one
2022-05-06 12:11:13 +02:00
Benjamin Valentin
e55f0f8831
sys/net/grnc: make use of iolist_to_buffer()
2022-05-02 23:23:52 +02:00
benpicco
1b92fb9858
Merge pull request #17350 from benpicco/gnrc_rpl/auto_init_on_prefix
...
gnrc/ipv6_auto_subnets: init RPL root when adding a prefix
2022-05-02 21:38:21 +02:00
Benjamin Valentin
a881af8b08
gnrc/ipv6_auto_subnets: bail out early if prefix stays the same
2022-05-01 21:37:32 +02:00
Benjamin Valentin
5785856fe7
gnrc/ipv6_auto_subnets: bail out early if adding prefix fails
2022-04-29 22:56:35 +02:00
Benjamin Valentin
3993fd75d0
gnrc/ipv6_auto_subnets: auto init RPL root
2022-04-29 22:56:35 +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
4bad5a10bc
Merge pull request #17944 from fjmolinas/pr_gcoap_deps_fixes
...
gcoap: small dependencies fixes
2022-04-14 18:34:45 +02:00
Francisco Molina
14b3659699
sys/net/gnrc: fix alignment
2022-04-14 09:04:44 +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
Benjamin Valentin
d800cca1c3
drivers/atwinc15x0: register with netdev
2022-03-30 16:07:29 +02:00
benpicco
6849e33854
Merge pull request #17736 from benpicco/dhcpv6-tweaks
...
sys/net/dhcpv6: miscellaneous tweaks
2022-03-29 13:52:41 +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
Martine Lenders
ef7329f85c
Merge pull request #17855 from miri64/ztimer/fix/init-unitialized
...
treewide: initialize several stack-allocated, but uninitialized timer structs
2022-03-28 20:05:47 +02:00
benpicco
1133d04de1
Merge pull request #17813 from leandrolanzieri/pr/tests/eth_drivers_rework
...
tests: rework eth drivers
2022-03-28 18:15:27 +02:00
Marian Buschsieweke
a20d8f67f5
Merge pull request #17856 from miri64/gnrc_netif/fix/null-ptr
...
gnrc_netif: fix potential null pointer dereference
2022-03-26 20:49:48 +01:00
fabian18
09b98ea4fc
Merge pull request #17850 from fabian18/bugfix_nib_6LN_context_option_length
...
ipv6/nib: bugfix of 6CO length checking
2022-03-24 22:07:18 +01:00
Martine Lenders
624e8099ec
gnrc_netif: fix potential null pointer dereference
2022-03-24 15:53:23 +01:00
Martine Lenders
5aefb8d5dc
gnrc_sock: initialized un-initialized timer objects
2022-03-24 15:23:50 +01:00
Fabian Hüßler
77cbe15b1d
ipv6/nib: bugfix of 6CO length checking
2022-03-24 10:06:56 +01:00
Leandro Lanzieri
a2e5934ec9
drivers/encx24j600: introduce setup function with index
2022-03-24 09:32:10 +01:00
Leandro Lanzieri
5f7a906b95
drivers/w5100: introduce setup with index
2022-03-24 09:30:42 +01:00
Francisco Molina
66d87fccf9
sys/net/gnrc/sock: use ztimer_usec or xtimer for timeout
2022-03-24 08:06:05 +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
Benjamin Valentin
32cf05b110
net/gnrc_sock: depend on iolist
2022-03-09 22:42:01 +01:00
benpicco
2d89399047
Merge pull request #17745 from leandrolanzieri/cpu/esp32/esp-eth/move_auto_init
...
cpu/esp32/esp-eth: move GNRC auto_init to init_devs
2022-03-07 20:25:06 +01:00
Dylan Laduranty
9d459b8a14
Merge pull request #17746 from leandrolanzieri/cpu/sam0_common/eth/expose_correct_setup
...
cpu/sam0_common/eth: expose correct setup function
2022-03-07 18:42:08 +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
benpicco
f31fdfd12d
Merge pull request #17747 from leandrolanzieri/drivers/encx24j600/default_params
...
drivers/encx24j600: define default parameters
2022-03-05 10:29:48 +01:00
Leandro Lanzieri
de79edb352
drivers/encx24j600: define default parameters
2022-03-04 09:58:50 +01:00
Leandro Lanzieri
74c8893a4f
cpu/esp32/esp-eth: move GNRC auto init to init_devs
2022-03-04 09:41:18 +01:00
Leandro Lanzieri
f1075ad749
cpu/sam0_common/eth: expose correct setup function
2022-03-04 08:57:42 +01:00
Francisco Molina
1aea12c27c
sys/net/gnrc/sock_types: guard tcp.h header inclusion
2022-03-04 08:47:47 +01:00
Francisco
0c166b1e2a
Merge pull request #17732 from fjmolinas/pr_xtimer_compat_deps
...
sys: sort out ztimer_xtimer_compat and ztimer64_xtimer_compat depes
2022-03-04 08:08:41 +01:00
Fabian Hüßler
6916f72419
ipv6/nib: fix memcpy() bug in _handle_rtr_timeout
2022-03-03 23:35:06 +01:00
Benjamin Valentin
9eb62da2d4
gnrc_dhcpv6_client_simple_pd: set AAC_DHCP if IA_NA is enabled
2022-03-02 14:53:09 +01:00
Francisco Molina
6151895bfa
sys: use ztimer64_xtimer_compat when required
2022-03-02 14:28:54 +01:00
ce1ec91adc
Merge pull request #17729 from fjmolinas/pr_gomach_no_periph_rtt_ztimer
...
sys/net/gnrc: ztimer_no_periph_rtt if gomach
2022-03-02 10:59:33 +01:00
Francisco Molina
a151a8e66a
sys/net/gnrc: ztimer_no_periph_rtt if gomach
2022-03-02 08:33:29 +01:00
Benjamin Valentin
1b52dee2d6
net/gnrc: restore inclusion of net/gnrc/tcp.h
...
This reverts d03175c2ae
2022-03-01 23:07:21 +01:00
a17ff53ecf
Merge pull request #17485 from benpicco/sock_udp_sendv
...
sys/net/sock: add sock_udp_sendv() API
2022-03-01 14:05:21 +01:00
Karl Fessel
d03175c2ae
net/gnrc: avoid *timer creeping though header
2022-02-28 14:53:07 +01:00
Benjamin Valentin
4cf94083de
sys/net/grnc: implement sock_udp_sendv_aux()
2022-02-22 10:05:41 +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
Jens Wetterich
4dfeafcabd
cpu/native/netdev_tap: Add to netdev_register
2022-02-11 07:54:11 +01:00
3b5662e116
gnrc/netif: convert to ztimer
2022-01-28 13:38:50 +01:00
Francisco
000e6fa99d
Merge pull request #17228 from miri64/gnrc_pktbuf_cmd/enh/add-od-dep
...
gnrc_pktbuf_cmd: add od dependency with gnrc_pktbuf_static
2022-01-17 12:10:49 +01:00
d792bc2b35
Merge pull request #17516 from aabadie/pr/sys/loramac_use_new_private_network_config
...
sys/loramac: remove deprecated LORAMAC_DEFAULT_PUBLIC_NETWORK
2022-01-15 12:29:00 +01:00
Karl Fessel
2bebcb62b5
Merge pull request #17411 from kfessel/p-nib-no-minutes
...
gnrc/ipv6nib: remove the need for evtimer-minutes
2022-01-15 02:33:30 +01:00
50c5d84277
sys/net/gnrc_lorawan: use CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK
2022-01-14 10:21:19 +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
Jose Alamos
5f46ab72e0
net/gnrc/lorawan: adapt ops->init to handle driver initialization
2022-01-10 13:59:27 +01:00
Jose Alamos
08ec9693cd
net/lwmac: adapt ops->init to handle driver initialization
2022-01-10 13:59:26 +01:00
Jose Alamos
298f16fee7
net/gomach: adapt ops->init to handle driver initialization
2022-01-10 13:59:26 +01:00
Jose Alamos
415704fa76
net/gnrc_netif: move netdev init code to ops->init
2022-01-10 13:59:24 +01:00
Jose Alamos
e7fac9f661
net/gnrc_netif: add return values to init
2022-01-10 13:59:01 +01:00
benpicco
55900e0fb5
Merge pull request #16755 from benpicco/gnrc_ipv6_nib-no_adv_router
...
gnrc_dhcpv6_client / uhcp: delay router advertisements until prefix was received
2022-01-04 13:34:32 +01:00
Benjamin Valentin
0504771c6c
sys/net/uhcp: delay router advertisements until prefix was received
2022-01-04 12:42:44 +01:00
Benjamin Valentin
a629e70357
gnrc_dhcpv6_client: delay router advertisements until prefix was received
2022-01-04 12:42:43 +01:00
Karl Fessel
af13447238
gnrc/ipv6_auto_subnets: depend on xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
0a3dd441ce
net/gnrc_sock: do not include xtimer.h without xtimer module
2021-12-14 22:53:01 +01:00
benpicco
cfaa167469
Merge pull request #16598 from benpicco/sys/shell/udp
...
examples/gnrc_networking: move udp command to shell commands
2021-12-13 15:03:18 +01:00
Gunar Schorcht
8c044c0163
gnrc/ipv6_ext_opt: fix compilation with NDEBUG
2021-12-09 16:44:19 +01:00
Benjamin Valentin
4b9bdc61b2
gnrc_netif/lorawan: add ; after DEBUG()
2021-12-09 10:14:07 +01:00
Benjamin Valentin
cbc8251874
gnrc_tcp: add ; after DEBUG()
2021-12-08 21:09:31 +01:00
José Alamos
ce8cda2fd8
Merge pull request #16932 from benpicco/socket_zep-hal
...
socket_zep: port to radio HAL
2021-12-07 18:24:33 +01:00
benpicco
f9f95534f6
Merge pull request #17333 from benpicco/gnrc/rpl-auto_init
...
gnrc/rpl: auto-init RPL if there is only a single interface
2021-12-04 11:07:01 +01:00
Benjamin Valentin
11672ac5e4
gnrc/rpl: auto-init RPL if there is only a single interface
2021-12-03 15:34:17 +01:00
Marian Buschsieweke
b7269c39e8
sys/net/gnrc_pktbuf_static: fix compilation with -Wcast-align
...
Comparing the pointers as `uintptr_t` won't hurt but makes the compiler
happy.
2021-12-03 10:12:34 +01:00
Marian Buschsieweke
b1114b0674
sys/net/gnrc/netif: use container_of()
...
Using `container_of()` to translate from `netif_t *` to the containing
`gnrc_netif_t *` adds a bit of plausibility: It will fail when `gnrc_netif_t`
stops to contain `netif_t` as member. Additionally, this silences false
positives of -Wcast-align
2021-12-03 10:12:33 +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
fa2d9bde56
socket_zep: port to radio HAL
2021-11-18 11:51:14 +01:00
Martine Lenders
d4f7f9182b
gnrc_pktbuf_cmd: add od
dependency with gnrc_pktbuf_static
2021-11-17 15:52:44 +01:00
benpicco
47029055a6
Merge pull request #8954 from zhuoshuguo/gnrc_gomach/adapt_duty_recode_para_name
...
gnrc_gomach: adapt duty recording parameters' namings.
2021-11-03 12:56:39 +01:00
Karl Fessel
c9f4d11c52
Merge pull request #16966 from yarrick/net_v6
...
sys/net: Add ipv4/ipv6 pseudomodules
to ease code unification
2021-10-20 11:58:26 +02:00
Benjamin Valentin
9d5808d756
gnrc/ipv6_auto_subnets: set RIO priority to ZERO
...
This is required for Linux to accept the RIO
with this patch:
2001:db8:8000::/33 via fe80::d0e7:ffff:fe46:6b52 dev tap0 proto ra metric 1024 expires 86338sec pref medium
2001:db8::/32 dev tap0 proto kernel metric 256 pref medium
before:
2001:db8::/32 dev tap0 proto kernel metric 256 pref medium
2021-10-15 15:57:59 +02: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
benpicco
f8c8abf75d
Merge branch 'master' into gnrc_gomach/adapt_duty_recode_para_name
2021-10-13 17:36:21 +02:00
Erik Ekman
3df56d576f
sys/net: Add ipv6 pseudomodule
...
Enabled when GNRC, lwIP or OpenWSN uses IPv6
2021-10-08 10:27:22 +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
ff42d6749b
sys/net/gnrc/dhcpv6: Set stateful configuration mode
2021-10-04 21:41:50 +02:00