[riot-notifications] [RIOT-OS/RIOT] Add Zenoh-C Protocol to RIOT for native (#11961)

Martine Lenders notifications at github.com
Mon Sep 23 14:10:19 CEST 2019

> 1. clock_gettime
> 2. getifaddrs
> 3. freeifaddrs
> Does RIOT contain these functions?

At the moment it doesn't. `clock_gettime` from it man page looks straight forward to port though. `getifaddrs()`/`freeifaddrs()` have two issues:

1. They are GNU- and not POSIX-specific (which isn't necessarily a problem, just a thing worth pointing out)
2. They require some kind of dynamic allocation which, to my knowledge, should be avoided if possible in both real-time and embedded context.

Due to this PR being quite massive (I see some headers included btw which I don't think are necessary), I'm not really sure, but could those calls maybe replaced with [`gnrc_get_opt()`](https://doc.riot-os.org/group__net__netif.html#gad7fad00d41d57c61d7b14db7800f94d7) calls to [`NETOPT_IPV6_ADDR`](https://doc.riot-os.org/group__net__netopt.html#gga19e30424c1ab107c9c84dc0cb29d9906a98b1f68f4205abe1e6c0d1b2da831316).

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/20190923/8e8bcb10/attachment.htm>

More information about the notifications mailing list