]> git.baikalelectronics.ru Git - kernel.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)
commit16589ec28508fe0c090e896477711607ff2da288
treef1c37577167e4d6eecae2f7c87078fcf26ccfa3e
parenteef44debd7f92711c72477915b2cdcabec427a60
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