[riot-notifications] [RIOT-OS/RIOT] [RFC] netif: add stack independent data and connection handlers (#11888)

José Alamos notifications at github.com
Fri Jul 26 11:29:37 CEST 2019

> Wouldn't this require always some switch case within those function just to distinguish the different interfaces?

No, because that should be coded in the interface itself (e.g each instance of `gnrc_netif_t`). For L2 access, there will be another interface for multiplexing that (same as netif->ops)

> Why did you move away from the ops function pointer struct we have in gnrc_netif

Because those are GNRC specific. Migrating `gnrc_netif->ops` to `l2->ops` makes them stack independent 

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/20190726/745ab446/attachment.htm>

More information about the notifications mailing list