[riot-notifications] [RIOT-OS/RIOT] net: NETOPT_MAX_{PACKET_SIZE -> L2_PDU_SIZE} (#10905)

Marian Buschsieweke notifications at github.com
Sat Feb 2 15:46:51 CET 2019


Hmm, 

``` C
res = gnrc_netapi_get(iface, NETOPT_MAX_L2_PDU_SIZE, GNRC_NETTYPE_IPV6, &u16, sizeof(u16));
```

to obtain the MTU would be even more confusing than `NETOPT_MAX_PACKET_SIZE`. Maybe better `NETOPT_MAX_PDU_SIZE` to be agnostic to which layer to refer? If so, may I directly force push?

-- 
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/10905#issuecomment-459970676
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190202/4bd0a4e4/attachment.html>


More information about the notifications mailing list