Marian Buschsieweke 996a837fff
shell/ifconfig: Add L2-PDU info
When IPv6 is enabled, the MTU is given. So users(*) sending IPv6 packets can
easily figure out what the supported maximum protocol unit is.

However, when IPv6 is disabled and a user wants to send layer 2 frames directly,
no information about the maximum PDU is available using the shell.

When 6LoWPAN is used, a user may be interested in the layer 2 PDU as well in
order to avoid layer 2 fragmentation.

This PR adds the L2-PDU info to the output of the ifconfig shell command, which
is printed regardless of the use of IPv6.

(*): Here "users" refers to human beings interacting with the shell.
Applications can get the maximum PDU of each layer more easily using
gnrc_netapi_get() with NETOPT_MAX_PACKET_SIZE instead of using a shell command.
2019-02-01 16:55:16 +01:00
..
2018-04-05 14:39:59 +02:00
2018-02-22 19:13:39 +01:00
2018-05-28 15:43:41 -04:00
2017-09-06 08:49:05 +02:00
2018-06-11 19:12:02 +02:00
2018-10-18 13:37:21 +02:00
2018-06-15 00:34:33 +02:00
2018-06-11 19:12:02 +02:00
2018-04-05 14:39:59 +02:00
2018-10-26 09:03:46 +02:00
2018-08-24 18:14:03 +02:00
2019-02-01 16:55:16 +01:00
2017-07-03 10:55:35 +02:00
2018-08-31 10:35:02 +02:00
2018-10-03 10:44:14 +02:00
2018-10-20 09:30:41 -04:00
2018-09-25 21:07:29 +02:00