]> 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)
commitb43f28aace4ee6022da97060b3d5805851ee6355
treef1c37577167e4d6eecae2f7c87078fcf26ccfa3e
parent05e1b85565200fc7629d9f2eac816ba015b2dc7d
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