diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-05-28 14:51:06 +0200 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-06-20 11:37:21 +0200 |
commit | 3b27ffb00fbe9d9189715ea13ce8712e2f0cb0c5 (patch) | |
tree | f1c37577167e4d6eecae2f7c87078fcf26ccfa3e /net/batman-adv/translation-table.c | |
parent | b4e1705417c6cc7d46d9020259a2c8f457cf82bd (diff) | |
download | lwn-3b27ffb00fbe9d9189715ea13ce8712e2f0cb0c5.tar.gz lwn-3b27ffb00fbe9d9189715ea13ce8712e2f0cb0c5.zip |
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>
Diffstat (limited to 'net/batman-adv/translation-table.c')
0 files changed, 0 insertions, 0 deletions