]> git.karo-electronics.de Git - karo-tx-linux.git/commit - net/batman-adv/types.h
batman-adv: consider network coding overhead when calculating required mtu
authorMarek Lindner <lindner_marek@yahoo.de>
Wed, 8 May 2013 05:31:59 +0000 (13:31 +0800)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 12 Oct 2013 15:17:09 +0000 (17:17 +0200)
commit411d6ed93a5d0601980d3e5ce75de07c98e3a7de
tree00a52bc5c70d465129c85d48e52ced2186649660
parent0bf84c160a4b3b75bb911b79c3972f64dfb0b039
batman-adv: consider network coding overhead when calculating required mtu

The module prints a warning when the MTU on the hard interface is too
small to transfer payload traffic without fragmentation. The required
MTU is calculated based on the encapsulation header size. If network
coding is compild into the module its header size is taken into
account as well.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/hard-interface.c
net/batman-adv/main.c
net/batman-adv/main.h
net/batman-adv/soft-interface.c
net/batman-adv/types.h