[riot-notifications] [RIOT-OS/RIOT] unittests/tests-rpl_srh: various improvements (#10300)

José Alamos notifications at github.com
Fri Nov 23 12:07:02 CET 2018


jia200x commented on this pull request.



> +
+static void set_up(void)
+{
+    memset(&hdr, 0, sizeof(hdr));
+    memset(buf, 0, sizeof(buf));
+}
+
+static inline void _init_hdrs(gnrc_rpl_srh_t **srh, uint8_t **vec,
+                              const ipv6_addr_t *dst)
+{
+    *srh = (gnrc_rpl_srh_t *)buf;
+    *vec = (uint8_t *)(*srh + 1);
+    memcpy(&hdr.dst, dst, sizeof(hdr.dst));
+}
+
+static void test_rpl_srh_dst_multicast(void)

(notes to self)

-- 
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/10300#discussion_r235909148
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20181123/43982c5a/attachment.html>


More information about the notifications mailing list