]> git.karo-electronics.de Git - linux-beck.git/commit
batman-adv: Unify the first 3 bytes in each packet
authorAntonio Quartulli <ordex@autistici.org>
Sat, 28 May 2011 12:51:06 +0000 (14:51 +0200)
committerSven Eckelmann <sven@narfation.org>
Mon, 20 Jun 2011 09:37:21 +0000 (11:37 +0200)
commit3b27ffb00fbe9d9189715ea13ce8712e2f0cb0c5
treef1c37577167e4d6eecae2f7c87078fcf26ccfa3e
parentb4e1705417c6cc7d46d9020259a2c8f457cf82bd
batman-adv: Unify the first 3 bytes in each packet

The amount of duplicated code in the receive and routing code can be
reduced when all headers provide the packet type, version and ttl in the
same first bytes.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/packet.h