[riot-notifications] [RIOT-OS/RIOT] netif: Initial import of a common network interface API (second try) (#8841)

Martine Lenders notifications at github.com
Sun Apr 1 14:34:59 CEST 2018


miri64 commented on this pull request.



> +/**
+ * @brief   Identifier for an invalid network interface
+ */
+#define NETIF_INVALID       (0x0-1)
+
+/**
+ * @brief   Maximum length for an interface name
+ */
+#ifndef NETIF_NAMELENMAX
+#define NETIF_NAMELENMAX    (8U)
+#endif
+
+/**
+ * @brief   Network interface enumeration type
+ */
+typedef intptr_t netif_t;

Agreed, I wanted to do this after thinking about it a bit anyway ;-)

-- 
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/8841#discussion_r178456894
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180401/8fe45aeb/attachment-0001.html>


More information about the notifications mailing list