[riot-notifications] [RIOT-OS/RIOT] net/netif: add function to get interface by name from a buffer (#16709)

José Alamos notifications at github.com
Wed Aug 4 16:20:41 CEST 2021


I like the idea. In fact, I think we should use this new function instead of `netif_get_by_name`, since the upper layer can always do:
```
netif_get_by_name_buffer(str, strlen(str));
```

I would be in favour of changing the API and deprecate the current `netif_get_by_name` API (and replace it with the signature of this new function).
What do you think?
```

-- 
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/16709#issuecomment-892700338
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210804/5af6b316/attachment-0001.htm>


More information about the notifications mailing list