]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Fragment and send skbs larger than mtu
authorMartin Hundebøll <martin@hundeboll.net>
Thu, 23 May 2013 14:53:03 +0000 (16:53 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 12 Oct 2013 09:58:35 +0000 (11:58 +0200)
commit4a2ab5ea470eddf0c052dad88b38fe4f57960e2c
treeeb5edeaf224c481e962f8108bca429c6b1cc31d9
parent25a425e2db0a0ef13e80f92ec6637431f44f9fd9
batman-adv: Fragment and send skbs larger than mtu

Non-broadcast packets larger than MTU are fragmented and sent with
an encapsulating header. Up to 16 fragments are supported, which are
sent in reverse order on the wire to allow minimal memory copying when
creating fragments.

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/fragmentation.c
net/batman-adv/fragmentation.h
net/batman-adv/send.c
net/batman-adv/soft-interface.c
net/batman-adv/types.h