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)
commitee75ed88879af88558818a5c6609d85f60ff0df4
treeeb5edeaf224c481e962f8108bca429c6b1cc31d9
parent610bfc6bc99bc83680d190ebc69359a05fc7f605
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