]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: change VID semantic in the BLA code
authorAntonio Quartulli <antonio@open-mesh.com>
Fri, 19 Apr 2013 16:07:00 +0000 (18:07 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:55 +0000 (02:44 +0200)
commitb5afd5c04cef3dedb65b4ca477751a8f891b8a87
tree94cea78183fa4e5da3245d8ac07ce8020f08ccc8
parent55c25c76f3d9a0a2850fe454634171df0fdc244a
batman-adv: change VID semantic in the BLA code

In order to make batman-adv fully vlan aware later, the
semantic used for variables storing the VLAN ID values has
to be changed in order to be adapted to the new one which
will be used batman-adv wide.

In particular, the VID has to be an "_unsigned_ short int"
and its 4 MSB will be used as a flag bitfield, while the
remaining 12 bits are used to store the real VID value

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/bridge_loop_avoidance.h
net/batman-adv/main.h
net/batman-adv/soft-interface.c
net/batman-adv/types.h