1faa845d8e
sys/net: iolist updates
2018-03-06 14:00:32 +01:00
2f179f26bb
sys/net/gnrc/netif: adapt to netdev with iolist
2018-03-06 14:00:31 +01:00
b343ff8ac9
Merge pull request #8470 from miri64/gnrc_sock/enh/set-remote-netif-implicitly
...
gnrc_sock: set remote network interface implicitly
2018-03-06 12:27:00 +01:00
Martine Lenders
15d405f597
gnrc_sock: add more cppcheck suppressions
2018-03-06 12:20:56 +01:00
Martine Lenders
98e45c3d55
gnrc_sock: set remote network interface implicitly
...
When there is only one interface we are simplifying a lot for the users
if the interface is set implicitly.
2018-03-05 17:01:36 +01:00
Cenk Gündoğan
18005666ac
Merge pull request #8512 from miri64/gnrc_sixlowpan/enh/gnrc-dispatch
...
gnrc_sixlowpan: Introduce 6Lo GNRC dispatch sub-layer
2018-03-01 15:03:03 +01:00
Martine Lenders
67d7aeab7e
gnrc_sixlowpan: Introduce 6Lo GNRC dispatch sub-layer
...
This abstracts the sending and receiving of 6Lo packets to the new
6Lo sub-layer model introduced in #8511 and exemplifies it as well.
2018-03-01 14:15:07 +01:00
Cenk Gündoğan
3bbc1d7e22
Merge pull request #8625 from miri64/gnrc_rpl/enh/leaf-non-routers
...
gnrc_rpl: allow for non-router operation (as leaf)
2018-03-01 10:28:49 +01:00
Martine Lenders
8c632b1bf7
Merge pull request #8536 from daniel-k/fix/gnrc_src_addr_selection
...
gnrc/netif: fix source address selection for non-matching prefixes
2018-02-27 19:02:54 +01:00
Martine Lenders
9c84cd90b8
gnrc_rpl: allow for non-router operation (as leaf)
2018-02-23 14:26:15 +01:00
Martine Lenders
2316d336da
gnrc: keep speed optimizations of c2b403f4
2018-02-22 20:40:59 +01:00
Martine Lenders
467e9548cf
gnrc_netreg: optimize gnrc_netreg_num() to use _netreg_lookup()
2018-02-22 20:39:23 +01:00
Martine Lenders
dbda759b40
Revert "gnrc/netreg: remove usages of gnrc_netreg_num"
...
This reverts commit c2b403f4ad
.
2018-02-22 20:30:03 +01:00
Martine Lenders
49f80b7cf1
Revert "gnrc/netreg: remove gnrc_netreg_num"
...
This reverts commit c178ea8798
.
2018-02-22 20:28:32 +01:00
Martine Lenders
26ad044e12
Merge pull request #8563 from miri64/gnrc_ipv6_nib/fix/6lo-tentative
...
gnrc_ipv6_nib_6ln: do not mark non-link-local addresses directly VALID
2018-02-19 15:28:08 +01:00
Martine Lenders
e11550042c
gnrc_ipv6_nib_6ln: only register addresses not VALID yet
...
With the previous fix, we only have to register addresses that are not
VALID yet on reception of router advertisements. This removes the need
for the hacky `GNRC_NETIF_FLAGS_6LO_ADDRS_REG` flag that was only
introduced to prevent unnecessary re-registration.
2018-02-19 14:39:29 +01:00
Martine Lenders
8c8b6f9494
gnrc_ipv6_nib_6ln: do not mark non-link-local directly VALID
...
The whole address registration looses its point if all addresses are
marked valid from the get-go. With this fix non-link-local addresses
are first marked TENTATIVE and only after successful registration
marked as VALID. Link-local addresses are assumed to always be VALID.
2018-02-19 14:38:27 +01:00
Joakim Nohlgård
73c11a366c
Merge pull request #8430 from smlng/gcc7/ignore_fallthroughs
...
make: ignore fallthroughs errors with GCC 7.x
2018-02-19 11:04:16 +01:00
Martine Lenders
2621a57362
gnrc_sock: make sock compilable with gnrc_neterr
...
gnrc_sock currently does not compile with `gnrc_neterr` included, since
both `msg_try_receive()` and `msg_try_send()` expect a *pointer* to a
`msg_t`, not a `msg_t`.
To test, just compile an application using `gnrc_sock` (e.g.
`examples/gcoap`) with `USEMODULE+=gnrc_neterr`.
2018-02-17 13:53:38 +01:00
Daniel Krebs
cbc9121ad4
gnrc/netif: fix source address selection for non-matching prefixes
...
According to RFC 6724 ch. 5 rule 8, the source address candidate with
the longest matching prefix has to be selected. The current
implementation discards source addresses that have no matching prefix
(`match = 0`) which is perfectly fine for any global address.
2018-02-08 13:46:46 +01:00
smlng
c178ea8798
gnrc/netreg: remove gnrc_netreg_num
2018-02-06 21:41:19 +01:00
smlng
c2b403f4ad
gnrc/netreg: remove usages of gnrc_netreg_num
2018-02-06 21:39:58 +01:00
smlng
573b6dc98a
gnrc/netreg: optimize lookup and getnext
2018-02-06 21:37:39 +01:00
Martine Lenders
d4661af4c8
gnrc: 6Lo fixes for BLE
2018-02-05 22:34:31 +01:00
Martine Lenders
51ae9d9c87
nordic_softdevice_ble: fixes for gnrc_netif usage
2018-02-05 22:34:11 +01:00
ab1d02bc8c
Merge pull request #8499 from miri64/gnrc_icmpv6_echo/fix/loopback
...
gnrc_icmpv6_echo: fix ping for loopback
2018-02-05 11:02:57 +01:00
Sören Tempel
cfe0143eec
gnrc_netif: Fix out-of-bounds buffer access in ieee802154 netif
2018-02-03 13:08:59 +01:00
Martine Lenders
12fad002da
gnrc_icmpv6_echo: fix ping for loopback
...
At the moment ping is crashing if one pings the loopback address.
This was caused in #8214 when we moved interfaces from `kernel_pid_t`
ID to pointer-based handling, since loopback doesn't evaluate to such
an interface.
2018-01-31 15:46:52 +01:00
Martine Lenders
c40a05b6a8
gnrc: fix link-layer/IPv6 address conversion for XBee
2018-01-31 10:54:28 +01:00
Martine Lenders
f1f079fb0e
Merge pull request #8480 from miri64/gnrc_ipv6_nib/fix/fix-conv
...
gnrc_ipv6_nib: ignore corner case when adding to PL
2018-01-30 13:52:15 +01:00
Martine Lenders
8e80a372cb
gnrc_ipv6_nib: ignore corner case when adding to PL
...
In #8135 the handling of corner cases for the conversion of
milliseconds to seconds, but the internal handling was not adapted.
2018-01-30 12:28:50 +01:00
Sebastian Meiling
0abbd9db8f
Merge pull request #8439 from smlng/net/gnrc/netreg/fix_assert
...
gnrc/netreg: fix assert
2018-01-29 16:46:19 +01:00
Martine Lenders
763b887017
gnrc_ipv6_nib: release packages for forwarding error cases
2018-01-26 17:35:57 +01:00
Martine Lenders
70c1fb7b4e
gnrc_ipv6_nib: fix final RA behavior
...
This fix
* assures that the periodicity of the final router advertisements is
kept (so that no administrative change e.g. adding prefixes to the
prefix list causes additional RAs outside the rate limitation)
* removes all administrative options (PIO, ABRO, 6CO) from final router
advertisements (with router lifetime == 0)
2018-01-26 13:57:19 +01:00
smlng
321067b99f
gnrc/netreg: remove unnecessary DEVELHELP condition
2018-01-25 17:01:10 +01:00
smlng
b3fde3429c
gnrc/lwmac: ignore implicit fallthrough error by GCC 7
2018-01-24 22:07:01 +01:00
smlng
15f73e76ad
gnrc/gomach: ignore implicit fallthrough error by GCC 7
2018-01-24 22:06:51 +01:00
Martine Lenders
d0140a9ec8
Merge pull request #8380 from miri64/gnrc_netif/enh/6lo-nrfmin
...
gnrc_netif: set-up 6Lo for NRFmin
2018-01-23 11:17:29 +01:00
Martine Lenders
6cabac3600
gnrc_ipv6_nib: add reverse-translation for NRFmin
2018-01-22 16:15:30 +01:00
Sebastian Meiling
3bb169307b
Merge pull request #8364 from smlng/osx/debug/fix_output
...
macOS: fix debug output
2018-01-22 15:14:48 +01:00
Martine Lenders
851eb767be
gnrc_netif: set-up 6Lo for NRFmin
2018-01-18 13:00:25 +01:00
d27fa8efa5
Merge pull request #8214 from miri64/gnrc_ipv6/enh/simplify-netif-access
...
gnrc_ipv6: gnrc_icmpv6: simplify access to network interfaces
2018-01-17 17:02:55 +01:00
Martine Lenders
7c0bb427fa
gnrc_ipv6: gnrc_icmpv6: simplify access to network interfaces
2018-01-17 16:48:58 +01:00
smlng
65b99c994d
gnrc/sixlowpan: fix format error in debug output
2018-01-17 15:25:15 +01:00
smlng
026bc281ae
gnrc/netif: fix format error in debug output
2018-01-17 15:25:15 +01:00
7b72f623d2
gnrc: netif2: DEBUG fixes
2018-01-15 14:37:05 +01:00
12d4254ae1
gnrc: nib: DEBUG fix
2018-01-15 14:37:05 +01:00
fd884c2d05
gnrc: rpl: DEBUG fix
2018-01-15 14:37:05 +01:00
56b8c55f1a
gnrc: mac: DEBUG fix
2018-01-15 14:37:04 +01:00
35ea251516
gnrc: lwmac: DEBUG fix
2018-01-15 14:37:04 +01:00