1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

2225 Commits

Author SHA1 Message Date
Martine Lenders
6038a7d3a5
gnrc_netif2: provide raw adaption layer (for e.g. SLIP) 2017-11-14 13:40:51 +01:00
Martine Lenders
01c21fa274
tests: make gnrc_ipv6_ext test compilable with gnrc_netif2
Test currently not working
2017-11-13 16:36:34 +01:00
Martine Lenders
b83bc1b763
Merge pull request #7456 from miri64/gnrc_ipv6_nib/feat/port-to-gnrc_netif2
gnrc_ipv6_nib: port to gnrc_netif2
2017-11-11 19:10:14 +01:00
Martine Lenders
72db5e48f0 gnrc_ipv6_nib: fix for 'holey' NIB
When there are holes in the NIB (e.g. when entries were removed)
currently the NIB crashes the system due to a failed assertion
(`DEVELHELP` needs to be activated to test this behavior).

This fixes this behavior by making the assertion a check that is always
compiled in.
2017-11-09 15:28:56 +01:00
Martine Lenders
a7d2c65b36
gnrc_ipv6_nib: port to gnrc_netif2 2017-11-08 20:18:53 +01:00
Martine Lenders
c3141c46b6
gnrc_ndp2: port to gnrc_netif2 2017-11-08 20:18:53 +01:00
Martine Lenders
78985b4db2
gnrc_uhcpc: fix dependencies
\#7721 showed, that `posix` is required to include the `arpa/inet.h`
header into the include path of an application using the `uhcpc`
module.

Additionally this PR makes the FIB an optional dependency of
`gnrc_uhcpc`.

Backport of #7722
2017-11-08 14:49:53 +01:00
Martine Lenders
867aff211f
Merge pull request #7935 from zhuoshuguo/gnrc_lwmac_adjust_csma_flag
gnrc_lwmac: adjust error use of csma flag for transmit packet.
2017-11-07 23:13:44 +01:00
Martine Lenders
861035f22d gnrc: integrate gnrc_netif2
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
Martine Lenders
b1e69a776f
Merge pull request #7910 from x3ro/fix-gnrc-ipv6-nib-test-on-macos
tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS
2017-11-07 18:16:55 +01:00
Lucas Jenss
069849f002 WIP tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS
In the case that GNRC_IPV6_NIB_CONF_ARSM is set but
GNRC_IPV6_NIB_CONF_6LN is not, clang complains about
the function _get_l2addr_from_ipv6 never being used.
I couldn't easily figure out why this passes in Murdock,
but I'm guessing that clang is simply being smarter than
GCC. Can someone comment on whether there is a better fix
for this?

Relates to #6473
2017-11-07 17:35:42 +01:00
Lucas Jenss
4bb12ba091 tests/gnrc_ipv6_nib_6ln: Fix error w/ clang on macOS
_is_reachable is only used when GNRC_IPV6_NIB_CONF_ARSM
is enabled, and as such it must be guarded so that clang
doesn't complain about a unused function in case
GNRC_IPV6_NIB_CONF_ARSM is not set

Similar to #7910
Relates to 6473
2017-11-07 17:33:15 +01:00
zhuoshuguo
6c57999b2b gnrc_lwmac: adjust use of error CSMA flag for packet transmit. 2017-11-03 18:52:01 +01:00
zhuoshuguo
c554d30b26 gnrc_lwmac: port to gnrc_netif2. 2017-11-01 15:40:47 +01:00
Francisco Acosta
a82930cf60 Merge pull request #7381 from miri64/slipdev/api/slip-port-to-netdev
slip: port to be used with netdev
2017-10-10 23:23:01 +02:00
Martine Lenders
b74ee8869b slip: port to be used with netdev 2017-10-10 23:14:12 +02:00
Martine Lenders
1d8dcae686 gnrc_netif2: add IEEE 802.15.4 support 2017-10-10 23:11:54 +02:00
Martine Lenders
3929550ea3 gnrc_netif2: make gnrc_netif2_create idempotent and crash on error 2017-10-10 21:17:32 +02:00
Lucas Jenss
6998ffbb14 cppcheck: Provide consistent reason formatting for all cppcheck-suppresses 2017-10-10 10:25:20 -07:00
Cenk Gündoğan
814dc95553 Merge pull request #7703 from miri64/gnrc_ipv6_nib/fix/return-ar-state
gnrc_ipv6_nib: return registration state on upstream registration
2017-10-10 11:35:47 +02:00
Martine Lenders
eb76e8034d
gnrc_ipv6_nib: return registration state on upstream registration
The function `_update_nce_ar_state()` was introduced during the review
of \#7424, but it's return value never used, causing faulty behavior.
2017-10-10 11:06:47 +02:00
Martine Lenders
0b80c7ed17
gnrc_netif2: Introduction of a new GNRC network interface API 2017-10-10 10:36:28 +02:00
Martine Lenders
6a7de28cd1
gnrc: integrate NIB for testing 2017-10-10 10:12:19 +02:00
Martine Lenders
1b36cdf79e
nib: implement public NIB functions up to link-local AR 2017-10-10 10:12:19 +02:00
Martine Lenders
d8acdc9d2d gnrc_ipv6_nib: add forwarding table component 2017-10-06 23:01:10 +02:00
Martine Lenders
0b2bc25ee0 gnrc_ipv6_nib: provide component to handle ABRO 2017-10-06 22:09:53 +02:00
Cenk Gündoğan
080590f587 Merge pull request #7222 from miri64/gnrc_ipv6_nib/feat/pl-component
gnrc_ipv6_nib: add prefix list component
2017-10-06 15:42:39 +02:00
Martine Lenders
3685fa02ae
gnrc_ipv6_nib: add prefix list component 2017-10-06 15:35:40 +02:00
Cenk Gündoğan
43283ef16b Merge pull request #7064 from miri64/gnrc_ndp2/api/initial
gnrc_ndp2: Provide GNRC abstraction layer for NIB for sending
2017-10-06 13:33:36 +02:00
Martine Lenders
08447ed51e
gnrc_ndp2: Provide GNRC abstraction layer for NIB for sending 2017-10-06 12:11:05 +02:00
Cenk Gündoğan
c3d3e7d024 Merge pull request #7212 from miri64/gnrc_ipv6_nib/feat/internal-offl
gnrc_ipv6_nib: provide internal implementation for off-link entries
2017-10-06 12:02:43 +02:00
Cenk Gündoğan
11baf130a3 Merge pull request #6988 from miri64/gnrc_ipv6_nib/feat/nc-component
gnrc_ipv6_nib: add neighbor cache component
2017-10-06 11:57:46 +02:00
Martine Lenders
f249c0c2a0
gnrc_ipv6_nib: provide internal implementation for off-link entries 2017-10-06 11:50:59 +02:00
Martine Lenders
4df88c89bf
gnrc_ipv6_nib: add neighbor cache component 2017-10-06 11:33:12 +02:00
Joakim Nohlgård
43a15440cb netopt: Add NETOPT_MAC_NO_SLEEP 2017-09-24 10:28:40 +02:00
035d266d49 makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
e7df513567 gcoap: fix resource separator inserting 2017-09-20 11:33:15 +02:00
smlng
d4e95d987b doc: fix typos 2017-09-06 08:49:05 +02:00
Joakim Nohlgård
065bc62e0a netdev: Make set() value parameter const void * 2017-08-25 13:41:19 +02:00
426e978972 rpl: Sort list of parents 2017-08-22 16:03:16 +02:00
Martine Lenders
9ea1c6e7c8 Merge pull request #7481 from gebart/pr/netopt-csma-be
netopt: add NETOPT_CSMA_MINBE, NETOPT_CSMA_MAXBE
2017-08-17 20:03:34 +02:00
Joakim Nohlgård
b5984d2855 Merge pull request #7447 from bergzand/netopt/tx-retries
netopt: Add option for retrieving number of retransmissions
2017-08-17 17:25:58 +02:00
c33eb2b277 netopt: add NETOPT_TX_RETRIES_NEEDED 2017-08-17 16:47:20 +02:00
Joakim Nohlgård
83ab722e22 netopt: Add NETOPT_CSMA_MAXBE, NETOPT_CSMA_MINBE 2017-08-17 16:37:19 +02:00
Joakim Nohlgård
8415c4eebc gnrc_icmpv6: Clean up redundant conditional debug statement 2017-08-09 16:27:30 +02:00
Hauke Petersen
8908cebe42 net/gcoap: renamed source folder s/coap/gocap/ 2017-08-08 16:39:48 +02:00
Hauke Petersen
8f577eca4c net/gcoap: add Uri-Query handling for requests 2017-08-08 16:22:05 +02:00
Hauke Petersen
32ab8cf724 net/gcoap: expose creation of resource list to API
Creating the resource list is useful outside the /.well-known/core
handler, e.g. for the registration to resource directories.
2017-08-08 16:00:15 +02:00
Hauke Petersen
2290a9f69b net/gcoap: added remote sock ep to resp handler cb
When receiving a response to a request send our earlier, it is in
some cases essential, to know something about who send the reponse.
This is needed for example when sending requests to multicast
addresses to be able to react to different incoming responses.
2017-07-31 11:11:06 +02:00
Hauke Petersen
36322e95b7 net/gcoap: collection of simple fixes (#7413)
* net/gcoap: fixed request state when getting a resp

The request state should be set to GCOAP_MEMO_RESP before calling
the response handler in case we actually go a response...

* net/gcoap: make test for 0.00 code more efficient

This optimization saves the computation of the code and compares
the raw field to `0`.
2017-07-28 14:15:17 +02:00