]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
batman-adv: reorder packet types
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Thu, 25 Apr 2013 08:37:23 +0000 (10:37 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 9 Oct 2013 19:22:34 +0000 (21:22 +0200)
commita1f1ac5c4d045a1adc6662346733a6db3aee5a9d
treeba32dde81ad0d35055bf8102a609e6b07c8cda9d
parent80067c8320aebab6d740e07be6ecf3dd04787f60
batman-adv: reorder packet types

Reordering the packet type numbers allows us to handle unicast
packets in a general way - even if we don't know the specific packet
type, we can still forward it. There was already code handling
this for a couple of unicast packets, and this is the more
generalized version to do that.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/main.c
net/batman-adv/packet.h
net/batman-adv/routing.c
net/batman-adv/routing.h