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

15606 Commits

Author SHA1 Message Date
Martine Lenders
a32a2a93e1 gnrc_ipv6_nib: add interface parameter to nc_del function 2017-11-27 20:32:27 +01:00
Martine Lenders
1bb9c968ed shell_commands: add interface to nib neigh del command
Neighbors are identified by an (IPv6 address, interface)-tuple so it
makes sense to also remove them by this.
2017-11-27 20:32:27 +01:00
Martine Lenders
086b74460b
Merge pull request #8145 from bergzand/pr/shell-nib-consistency
shell/nib: fix minor inconsistency
2017-11-27 18:38:11 +01:00
6ec2180c27 shell/nib: change prefix add lifetimes to seconds 2017-11-27 18:15:34 +01:00
866613309f shell/nib: display optional arguments as optional 2017-11-27 18:15:34 +01:00
Martine Lenders
6fbb77b36c
Merge pull request #8144 from smlng/shell/fix/net_commands
shell: fix net commands
2017-11-27 13:31:34 +01:00
smlng
b455eece85 shell, neitf: fix output 2017-11-27 13:20:03 +01:00
smlng
5198788323 shell, nib: fix nib neigh delete 2017-11-27 11:09:49 +01:00
831c639df5
Merge pull request #8135 from miri64/gnrc_rpl/fix/ms-sec-conversion
gnrc_rpl: gnrc_ipv6_nib: Fix second to millisecond conversion corner cases
2017-11-24 14:00:20 +01:00
Martine Lenders
2f8223106b
gnrc_ipv6_nib: fix ms to sec conversion for sending NDP PIOs 2017-11-24 13:52:20 +01:00
Martine Lenders
973007ad38
gnrc_ipv6_nib: fix ltime > MAX / 1000 corner case in NDP PIOs as well 2017-11-24 13:52:19 +01:00
Martine Lenders
63cc5f6751
gnrc_rpl: fix corner cases in sec/ms conversion in prefix lifetimes
Two edge cases were previously missed:

1. Infinite should stay infinite. Prefixes with infinite lifetimes
   should be advertised as such. Likewise, should prefixes with
   infinite lifetimes be added to the prefix list as such
2. Prefixes with lifetimes > (UINT32_MAX - 1) / 1000 should have the
   longest possible lifetime below infinite (UINT32_MAX - 1)

This fixes that.
2017-11-24 13:45:26 +01:00
aff7d6ecd8
Merge pull request #8097 from miri64/gnrc_ipv6_nib/fix/reduce-unreachable-backoff
gnrc_ipv6_nib: reduce backoff if neighbor UNREACHABLE and trying reach to it
2017-11-24 01:05:55 +01:00
bd6baab16b
Merge pull request #8128 from miri64/gnrc_rpl/fix/fix-todos
gnrc_rpl: do some important TODOs (like prefix list handling and netif checks)
2017-11-24 00:30:39 +01:00
Martine Lenders
97b0db61ca gnrc_rpl: remove redundant iface variable 2017-11-24 00:20:32 +01:00
Martine Lenders
423fc74bd2 gnrc_rpl: fix check if DODAG-ID is on interface 2017-11-24 00:20:32 +01:00
Martine Lenders
279e19fe8a gnrc_rpl: properly handle prefix list 2017-11-23 22:56:55 +01:00
Martine Lenders
a3a97bac47
Merge pull request #8132 from bergzand/pr/rpl-dao-noprefix
gnrc_rpl: Exclude routes without next hop from DAO packets
2017-11-23 22:50:03 +01:00
3979ffcf1b gnrc_rpl: Exclude routes without next hop from DAO packets 2017-11-23 19:29:07 +01:00
87eac9668d
Merge pull request #8127 from miri64/gnrc_rpl/fix/transit-build
gnrc_rpl: fix abandoned packet bug in transit option build
2017-11-23 18:55:58 +01:00
Martine Lenders
ec02458c55
gnrc_rpl: fix abandoned packet bug in transit option build
Due to the transit option build function being passed a NULL pointer,
the previous transit and target options are dropped (and never freed).

This fixes #8098 and #8126.
2017-11-23 18:43:36 +01:00
6df40262ca
Merge pull request #8103 from miri64/gnrc/doc/link-local-behavior
gnrc: note behavior for link-local addresses
2017-11-21 19:00:59 +01:00
Martine Lenders
1ac544268e
gnrc: note behavior for link-local addresses 2017-11-21 17:48:16 +01:00
8158a273c7
Merge pull request #8093 from miri64/gnrc_ipv6_nib/fix/unreachable-behavior
gnrc_ipv6_nib: various fixes regarding UNREACHABLE state
2017-11-21 17:41:55 +01:00
d8073e9b3d
Merge pull request #8095 from miri64/tests/fix/nib-forw
examples: tests: adapt udp shell commands for new forwarding engine
2017-11-21 17:24:28 +01:00
Martine Lenders
4476d340f0
gnrc_ipv6_nib: remove trailing semicolon in ARSM macro 2017-11-21 17:21:34 +01:00
Martine Lenders
5b747e2629
gnrc_ipv6_nib: cap-off NS sent to prefent overflows 2017-11-21 17:21:34 +01:00
Martine Lenders
168228ddc9
gnrc_ipv6_nib: do not try to re-register to an unreachable router 2017-11-21 17:21:33 +01:00
Martine Lenders
61b539abf9
gnrc_ipv6_nib: reduce backoff if neighbor UNREACHABLE and trying to it
When a neighbor becomes UNREACHABLE which causes neighbor solicitations
to be send only up to every minute. If the medium is very busy this can
easily get lost, basically causing the neighbor never to be reachable
again from the perspective of the sending node. To fix this the backoff
is reduced to its start value, every time a packet is sent to that
neighbor.
2017-11-21 11:38:45 +01:00
Martine Lenders
08964079e0
examples: tests: adapt udp shell commands for new forwarding engine
The NIB's forwarding engine behaves more correctly than GNRC's old
forwarding engine in that link-local addresses require also an
interface to be provided to be meaningful. As with other commands this
is simplified for the special case that there only is one interface
that that interface is chosen.
2017-11-21 10:40:01 +01:00
b561e84b7f
Merge pull request #8091 from miri64/gnrc_ipv6_nib/fix/rereg-retrans-unit
gnrc_ipv6_nib: fix retransmission timeout unit for address re-registration
2017-11-20 15:42:59 +01:00
e5cf4a5396
Merge pull request #8089 from miri64/gnrc_netif/fix/add-sol-nodes
gnrc_netif: join/leave solicited nodes IPv6 address add/remove
2017-11-20 14:35:49 +01:00
42cc437405
Merge pull request #8092 from miri64/gnrc_netif/fix/array-get
gnrc_netif: fix GNRC_NETAPI_GET of arrays
2017-11-20 14:33:42 +01:00
Martine Lenders
564d3c7581
gnrc_ipv6_nib: remove now duplicate join to sol. nodes 2017-11-20 14:22:55 +01:00
Martine Lenders
d4e60dae2e
gnrc_netif: join/leave solicited nodes IPv6 address add/remove 2017-11-20 14:22:55 +01:00
Martine Lenders
10b74740eb
gnrc_netif: fix GNRC_NETAPI_GET of arrays
The target array currently moves with the loop instead of with the
results. This fixes that.
2017-11-20 14:18:09 +01:00
Martine Lenders
8c4eb43701
gnrc_ipv6_nib: fix retrans. timeout unit for address re-registration 2017-11-20 13:52:37 +01:00
460d3c44fe
Merge pull request #8087 from miri64/gnrc_ipv6_nib/fix/stray-assert
gnrc_ipv6_nib: Remove stray assert() in _handle_aro()
2017-11-20 12:07:58 +01:00
Martine Lenders
12261a3e69 gnrc_ipv6_nib: Remove stray assert() in _handle_aro()
This assertion doesn't make any sense. The function is called by
_copy_and_handle_aro() on a router which causes `nce` to be NULL
(because there is no NCE known yet) and then the function called
directly after (_reg_addr_upstream()) checks if `nce` might be NULL and
creates an NCE if necessary.
2017-11-20 06:41:08 +01:00
Martine Lenders
8a79b6739a
Merge pull request #8010 from cgundogan/pr/rpl_nib
gnrc_rpl: port to nib
2017-11-20 00:42:03 +01:00
Cenk Gündoğan
de5e0c677f gnrc_netif: fix DEBUG output 2017-11-20 00:35:17 +01:00
Cenk Gündoğan
3be5c9fdf3 nib: use correct fall through hint 2017-11-20 00:35:17 +01:00
Cenk Gündoğan
5b5c479043 rpl: replace fib with nib 2017-11-20 00:35:17 +01:00
Martine Lenders
c61a520c1a
Merge pull request #8084 from bergzand/shell/netif-add-mld
shell_commands: Add multicast groups to ifconfig command
2017-11-20 00:09:20 +01:00
Cenk Gündoğan
21a55612b7
Merge pull request #8083 from miri64/gnrc_ipv6_nib/api/prime-dr
gnrc_ipv6_nib: make user added default route the primary one
2017-11-19 23:51:53 +01:00
Martine Lenders
2f7b55b486 tests: adapt unittests for new FT behavior 2017-11-19 23:36:20 +01:00
Martine Lenders
2a899c45ac gnrc_ipv6_nib: make user added default route the primary one 2017-11-19 23:36:20 +01:00
20d050a42e shell_commands: Add multicast groups to ifconfig command 2017-11-19 22:32:47 +01:00
Cenk Gündoğan
ba77fd5592
Merge pull request #8082 from miri64/gnrc_ipv6_nib/fix/gnrc_netif_dep
gnrc_ipv6_nib: fix gnrc_netif dependency
2017-11-19 19:23:21 +01:00
Martine Lenders
42adac0ece gnrc_ipv6_nib: fix gnrc_netif dependency
GNRC includes this dependency implicitly, but if the NIB is used
isolated (as e.g. in its unittest suite) this dependency is missing.
2017-11-19 14:16:45 +01:00