[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_nib: add full RFC4862 DAD support (#8823)

benpicco notifications at github.com
Tue Jun 15 16:22:03 CEST 2021


@benpicco commented on this pull request.



> @@ -838,9 +837,30 @@ static void _handle_nbr_sol(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6,
     DEBUG("     - Destination address: %s\n",
           ipv6_addr_to_str(addr_str, &ipv6->dst, sizeof(addr_str)));
 #if GNRC_IPV6_NIB_CONF_SLAAC
-    /* TODO SLAAC behavior */
+    gnrc_netif_t *tgt_netif = gnrc_netif_get_by_ipv6_addr(&nbr_sol->tgt);

> really would help to have some graphical representation of your set-up

```
┌────────────────────────────┐    ┌────────────────────────────┐   ┌────────────────────────────┐
│ Gateway                    │    │ Node A                     │   │ Node B                     │
│ =======                    │    │ =======                    │   │ =======                    │
│                            │    │                            │   │                            │
│ ethernet uplink:           │    │ UART downlink:             │   │ UART uplink:               │
│ [2001:16b8:45b5:9a00::/64] │    │ [2001:16b8:45b5:9afa::/63] ├───┤ [2001:16b8:45b5:9afa::/63] │
│  2001:16b8:45b5:9a00:      │    │  2001:16b8:45b5:9afa:      │   │  2001:16b8:45b5:9afa:      │
│   a4ed:29ff:feec:cbf3      │    │   5884:3bff:fe4f:a902      │   │   ece6:c0ff:fe26:b99e      │
│                            │    │                            │   │                            │
│ UART downlink:             │    │ UART uplink:               │   │ UART downlink:             │
│ [2001:16b8:45b5:9af8::/62] ├────┤ [2001:16b8:45b5:9af8::/62] │   │ [2001:16b8:45b5:9afb::/64] ├
│  2001:16b8:45b5:9af8:      │    │  2001:16b8:45b5:9af8:      │   │  2001:16b8:45b5:9afb:      │
│   a4ed:29ff:feec:d4f3      │    │   5884:3bff:fe4f:a903      │   │   ece6:c0ff:fe26:b99f      │
└────────────────────────────┘    └────────────────────────────┘   └────────────────────────────┘
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/8823#discussion_r651841766
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210615/f66e21cd/attachment.htm>


More information about the notifications mailing list