[Olsr-dev] rifs->int_mtu and /sys/class/net/wlan0/mtu have different values

Henning Rogge (spam-protected)
Wed Jun 6 08:26:34 CEST 2012


On 06/05/2012 11:25 PM, Hans-Christoph Steiner wrote:
>
> I'm just in the process of adding the wifi information to the jsoninfo
> plugin and I noticed something odd on my wlan0:
>
> rifs->int_mtu in olsrd is 1472
>
> /sys/class/net/wlan0/mtu is 1500

1500 bytes (MTU) - 20 bytes (IPv4) - 8 bytes (UDP) = 1472 bytes

Its an estimate how large OLSR packets are allowed to grow.

Henning Rogge


-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20120606/2e0757d7/attachment.bin>


More information about the Olsr-dev mailing list