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

15 Commits

Author SHA1 Message Date
Bas Stottelaar
5f83ee2730 tests/*: add explicit include of timex.h 2020-10-21 21:47:31 +02:00
Martine S. Lenders
1399f6f2ff
tests/gnrc_ipv6_nib_6ln: remove NETOPT_IPV6_IID support in mock-device
This option is handled in the `gnrc_netif`-layer without any access to
the driver's option since 7ae90564d9.
2020-06-25 13:41:33 +02:00
PeterKietzmann
9e83d12bc0 net/gnrc/netif: Move GNRC_NETIF_IPV6_ADDRS_NUMOF to 'CONFIG_' namespace 2020-01-13 12:28:37 +01:00
PeterKietzmann
b28a586702 net/gnrc/netif: Move GNRC_NETIF_DEFAULT_HL to 'CONFIG_' namespace 2020-01-13 12:28:37 +01:00
Martine Lenders
8749dc817a tests: use NDP_HOP_LIMIT instead of magic number 2019-03-26 12:00:52 +01:00
Marian Buschsieweke
9216607163
tests/gnrc_ipv6_nib_6ln: Refactored code
Improved readability of if statements. This issue was pointed out by cppcheck.
2019-02-19 13:00:05 +01:00
Marian Buschsieweke
4c0469f9d3
tests/gnrc_ipv6_nib_6ln: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:11 +01:00
Martine Lenders
8d98447c36 tests: adapt gnrc_ipv6_nib_6ln test for new behavior 2018-02-19 14:39:29 +01:00
Martine Lenders
1f8dc50602 tests: adapt NIB tests for lifetime unit conversion 2018-01-30 12:32:06 +01:00
Martine Lenders
2ae30cf582 gnrc_netif: rename IPv6 address "setters"
This renames the following functions

* `gnrc_netif_ipv6_addr_add()`
* `gnrc_netif_ipv6_addr_remove()`
* `gnrc_netif_ipv6_group_join()`
* `gnrc_netif_ipv6_group_leave()`

by appending the suffix `_internal`.

\## Reasoning

I'd like to provide a helper function for the *public* equivalent using
`gnrc_netapi_set()`, and those names are to nice to not be taken for
those.

\## Procedure
I used a combination of `git grep` and `sed` to do this and fixed the
alignment in the result of some cases by hand.

```sh
git grep --name-only "\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)\>" | \
        xargs sed -i 's/\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)/\0_internal/g'
```
2017-12-13 13:50:39 +01:00
Martine Lenders
c28de94fd1
tests: adapt tests for route lifetime 2017-11-17 13:45:41 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
Martine Lenders
5b5a99e175
tests: adapt gnrc_ipv6_nib_6ln test for router discovery 2017-11-16 15:49:21 +01:00
Martine Lenders
801148eb6d
tests: port gnrc_ipv6_nib tests for gnrc_netif2 2017-11-08 20:18:53 +01:00
Martine Lenders
00b63e9803
tests: add tests for 6LN NDP behavior 2017-10-10 10:12:19 +02:00