]> 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)
commitf058d0a8b8cc412aecf3f9e1d40c56e67993e290
treeeb5edeaf224c481e962f8108bca429c6b1cc31d9
parent38f76c08bf5b52cb1be3606459e857235138a012
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