[riot-notifications] [RIOT-OS/RIOT] netutils: add netutils_parse_hostname() (#16634)

benpicco notifications at github.com
Wed Jul 14 16:41:12 CEST 2021


@benpicco commented on this pull request.



> +#include "net/utils.h"
+#ifdef MODULE_SOCK_DNS
+#include "net/sock/dns.h"
+#endif
+
+/* get the next netif, returns true if there are more */
+static bool _netif_get(netif_t **current_netif)
+{
+    netif_t *netif = *current_netif;
+    netif = netif_iter(netif);
+
+    *current_netif = netif;
+    return netif_iter(netif);
+}
+
+int netutils_parse_hostname(const char *hostname, ipv6_addr_t *addr, netif_t **netif)

So how about `netutils_get_ipv6()`?

-- 
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/16634#discussion_r669680151
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210714/19f8b4af/attachment.htm>


More information about the notifications mailing list