[riot-notifications] [RIOT-OS/RIOT] WIP net/ndp: make addr array ptr c++ compliant (#11299)

Martine Lenders notifications at github.com
Thu Mar 28 09:22:44 CET 2019

miri64 requested changes on this pull request.

>  } ndp_opt_rdnss_t;
+ * @brief   Get the start of addresses array in the recursive DNS server option
+ *
+ * @param[in]   opt   Recursive DNS server option in contiguous memory
+ *
+ * @returns     pointer to first address
+ */
+static inline ipv6_addr_t *ndp_opt_rdnss_addrs_ptr(ndp_opt_rdnss_t *opt) {
+	return (ipv6_addr_t *) (((uint8_t *)opt) + sizeof(ndp_opt_rdnss_t));

Wrong indentation btw.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190328/f90b4caa/attachment.html>

More information about the notifications mailing list