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

Marian Buschsieweke notifications at github.com
Mon Feb 18 20:23:46 CET 2019


Did the rebase here: https://github.com/maribu/RIOT/tree/max_pdu_size (and also changed the new user and already squashed there).

This was the new user of `NETOPT_MAX_PACKET_SIZE` is PR https://github.com/RIOT-OS/RIOT/pull/10923 btw:

``` diff
diff --git a/sys/shell/commands/sc_gnrc_netif.c b/sys/shell/commands/sc_gnrc_netif.c
index b72c3caa8..d9777589f 100644
--- a/sys/shell/commands/sc_gnrc_netif.c
+++ b/sys/shell/commands/sc_gnrc_netif.c
@@ -505,7 +505,7 @@ static void _netif_list(kernel_pid_t iface)
                                    line_thresh);
     line_thresh = _netif_list_flag(iface, NETOPT_CHANNEL_HOP, "CHAN_HOP",
                                    line_thresh);
-    res = gnrc_netapi_get(iface, NETOPT_MAX_PACKET_SIZE, 0, &u16, sizeof(u16));
+    res = gnrc_netapi_get(iface, NETOPT_MAX_PDU_SIZE, 0, &u16, sizeof(u16));
     if (res > 0) {
         printf("L2-PDU:%" PRIu16 " ", u16);
         line_thresh++;
```

-- 
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-464849942
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190218/9b3eb26c/attachment.html>


More information about the notifications mailing list