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-11-19 16:00:43 +01:00
2018-09-20 23:47:40 +02:00
2017-11-17 10:41:54 +01:00
2018-06-11 19:12:02 +02:00
2017-11-13 18:44:15 +01:00
2017-08-08 18:14:59 +02:00