Oleg Hahm
cc0101472e
6lowpan: do garbage collect unreachable NCEs
...
RFC6775 says "if NUD on the router determines that the host is UNREACHABLE (based on the logic in [RFC4861]), the NCE SHOULD NOT be deleted but rather retained until the Registration Lifetime expires." Since this is a "SHOULD NOT" and not a "MUST NOT", we can still remove these NCEs to circumvent NCEs going into UNREACHABLE and never leave this state again. Actually removing these entries from the cache seems also be the better choice for memory constraint device.
2015-09-24 17:33:38 +02:00
Oleg Hahm
c5b1156909
IPv6 nd: missing parameter for debug function
2015-09-24 13:17:21 +02:00
Martine Lenders
2a61ac936a
gnrc_ndp_node: always assume link-local dst to be on-link
2015-09-22 19:49:48 +02:00
Oleg Hahm
682bde25d9
6lowpan nd: check right NCE in AR handling
...
When checking the address registration option, the address has to be passed in order to check the correct neighbor cache entry.
2015-09-21 09:25:12 +02:00
Oleg Hahm
1a0a1d6fb9
ndp: assert that rtr adv interval is never 0
2015-09-20 21:42:20 +02:00
Martine Lenders
c1310d5500
Merge pull request #3889 from OlegHahm/6lowpan_nd_rtr_adv
...
6lowpan nd: send router advertisements on 6LR
2015-09-20 20:51:47 +02:00
Oleg Hahm
9641f8c39c
6lowpan nd: send rtr adv after receiving a rtr adv
...
A router should turn into a router after receiving a valid router advertisement.
2015-09-20 18:15:27 +02:00
Martine Lenders
b3c16b3abc
Merge pull request #3892 from authmillenon/gnrc_sixlowpan_nd/fix/nd-state-machine
...
gnrc_sixlowpan_nd: activate NC state machine
2015-09-19 04:04:45 +02:00
Martine Lenders
1682b76866
gnrc_ndp_internal: adapt nbr_sol send function to get src
2015-09-18 00:23:12 +02:00
Martine Lenders
79c1240590
gnrc_sixlowpan_nd: activate NC state machine
2015-09-18 00:12:19 +02:00
Oleg Hahm
fdf5c70ebd
ndp: another leftover from renaming...
2015-09-17 10:19:17 +02:00
Martine Lenders
371240e8de
Merge pull request #3874 from authmillenon/gnrc_sixlowpan_nd/fix/resched-nbr-sol
...
gnrc_sixlowpan_nd: fix reschedule of neighbor solicitations
2015-09-17 10:07:41 +02:00
Martine Lenders
8f2b2e15d2
Merge pull request #3836 from cgundogan/pr/ndp/rm_dupl_pio
...
ndp: pio - check if prefix has been processed before
2015-09-17 02:40:08 +02:00
Martine Lenders
e76f1cf27f
Merge pull request #3840 from OlegHahm/sixlowpan_nd_stale_null_pointer
...
6lowpan nd: fix null pointer handling in staling
2015-09-17 01:38:21 +02:00
Martine Lenders
a19a04c753
Merge pull request #3853 from OlegHahm/6lowpan_nd_router_fixes
...
6lowpan nd router fixes
2015-09-17 01:37:39 +02:00
Martine Lenders
b1e98e3337
gnrc_sixlowpan_nd: fix reschedule of neighbor solicitations
2015-09-17 01:28:11 +02:00
Oleg Hahm
46fcb4632c
6lowpan nd: fix null pointer handling in staling
2015-09-17 00:19:04 +02:00
Oleg Hahm
9deb315b6d
sixlowpan nd: remove superfluous check in stale
2015-09-17 00:12:08 +02:00
Oleg Hahm
b15660033a
sixlowpan nd: send actually router advertisements
2015-09-16 23:59:43 +02:00
Oleg Hahm
bf22190434
6lowpan nd: set rtr adv flag on rtr adv reception
...
A 6LoWPAN router should turn into a 6LoWPAN router as soon as it has
been configured by receiving an advertisement itself.
2015-09-16 23:53:47 +02:00
Cenk Gündoğan
92cbc1f254
ndp: pio - check if prefix has been processed before
2015-09-16 22:58:45 +02:00
Cenk Gündoğan
14d899bf83
ndp: assertify pio prefix len check and include 0 and 128
2015-09-12 13:11:01 +02:00
Martine Lenders
e51786910d
gnrc_ndp: add PIO to router advertisements
...
The PIOs for the configured prefixes were generated, but never added to
the packet, causing some problems in the packet buffer.
Fixes #3815 (possibly)
2015-09-11 15:54:57 +02:00
Martine Lenders
2364621eb2
gnrc_ndp: fix setting of addresses by PIO
2015-09-11 11:51:08 +02:00
Martine Lenders
2bb3376e5e
Merge pull request #3811 from DipSwitch/ndp_option_parse
...
ndp: fix bug in option parsing of RTR_ADV and add debug support
2015-09-10 15:26:30 +02:00
Martine Lenders
94979362cc
Merge pull request #3810 from DipSwitch/ndp_fix_pi_opt
...
ndp: fix NDP PI option length validation and option processing in RTR_ADV msg
2015-09-10 15:07:10 +02:00
DipSwitch
80a4834d98
ndp: fix bug in option parsing of RTR_ADV and add debug support
2015-09-10 14:30:38 +02:00
Martine Lenders
639fd0068e
Merge pull request #3807 from OlegHahm/sixlowpan_nd_rtr_sol
...
gnrc: 6lowpan: router solicitation retransmission fixes
2015-09-10 13:54:56 +02:00
DipSwitch
d770561616
ndp: fix the NDP PI option length checking
2015-09-10 11:28:36 +02:00
Oleg Hahm
8b16f3ef06
Merge pull request #3749 from authmillenon/gnrc_sixlowpan_nd_router/feat/initial
...
gnrc_sixlowpan_nd_router: initial import of router behavior of 6LoWPAN-ND
2015-09-10 10:49:36 +02:00
Martine Lenders
40912d3d66
gnrc: adapt for gnrc_sixlowpan_nd_router
2015-09-10 02:13:45 +02:00
Oleg Hahm
b4c00d5f6e
gnrc: ndp: fix PIO address validity check
2015-09-10 01:31:32 +02:00
Oleg Hahm
5576ab7c40
gnrc: ndp: reset router solicitation counter
...
The counter should be reseted after the reception of a router advertisement.
2015-09-09 23:48:34 +02:00
Martine Lenders
84768b1747
Merge pull request #3748 from authmillenon/gnrc_sixlowpan_nd/feat/initial
...
gnrc_sixlowpan_nd: initial import of host behavior of 6LoWPAN-ND
2015-09-09 11:58:01 +02:00
Martine Lenders
ea3426eee5
gnrc: adapt for gnrc_sixlowpan_nd
2015-09-09 11:16:10 +02:00
34092a3eba
sys: net: gnrc: ndp: fix type used for NETOPT_SRC_LEN
2015-09-03 23:33:41 +02:00
Thomas Eichinger
fa11195e38
Merge pull request #3393 from thomaseichinger/pr/fix_osx_warnings_errors
...
native: fix warning error OS X
2015-09-03 14:04:45 +02:00
Thomas Eichinger
3d9b656e8a
gnrc/ndp: fix warning about double parentheses
2015-09-03 11:49:57 +02:00
Martine Lenders
fc6896b0c7
Merge pull request #3049 from authmillenon/ng_ndp/feat/rtr-dscvry
...
gnrc_ndp_router: Initial import of router behavior of router discovery
2015-09-03 00:22:40 +02:00
Oleg Hahm
4fa3bb89ea
Merge pull request #3744 from authmillenon/gnrc_ipv6_nc/enh/6lo-nd
...
gnrc_ipv6_nc: adapt neighbor cache for different ND implementations
2015-09-02 21:54:35 +02:00
Martine Lenders
abe63b3f71
gnrc_ndp_router: initial import
2015-09-02 21:42:10 +02:00
Martine Lenders
b033ff590b
gnrc_ndp_host: initial import
2015-09-02 17:31:09 +02:00
Martine Lenders
a65804027f
gnrc_ipv6_nc: adapt neighbor cache for different ND implementations
2015-09-02 14:21:40 +02:00
Oleg Hahm
6786da07e2
Merge pull request #3628 from authmillenon/ng_ndp/enh/0-length-addr
...
gnrc_ndp: add support for address-less link-layers
2015-09-02 13:53:22 +02:00
Martine Lenders
a980155250
ng_ndp: add support for address-less link-layers
2015-09-02 12:01:10 +02:00
Oleg Hahm
b514eeab04
Merge pull request #3706 from OlegHahm/fib_size_parameter
...
fib: add size parameter
2015-09-01 11:28:55 +02:00
Oleg Hahm
86cabbd102
fib: add data struct for meta information
...
In order to properly make use of different FIB tables, handling of different sizes is required. The fib_table_t provides a pointer to the array of entries and its size.
2015-09-01 11:09:10 +02:00
Martine Lenders
82924c6dd6
gnrc_ndp: adapt for API change in gnrc_ndp_internal
2015-08-31 18:03:12 +02:00
Martine Lenders
a913c01e99
gnrc_ndp_internal: add capability to add external options to NAs
2015-08-31 18:03:12 +02:00
Martine Lenders
d731d24d3a
gnrc_ndp_node: put next_hop_actual in correct scope
...
In the if-block the pointer gets free'd as soon as the if-block is
exited. This PR prevents that.
2015-08-31 13:19:45 +02:00
Oleg Hahm
4267212502
fib: allow for multiple instances of FIB
2015-08-20 15:47:27 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00