batman-adv: make the Distributed ARP Table vlan aware
authorAntonio Quartulli <antonio@open-mesh.com>
Tue, 4 Jun 2013 10:11:43 +0000 (12:11 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 19 Oct 2013 15:28:07 +0000 (17:28 +0200)
commitbe1db4f6615b5e6156c807ea8985171c215c2d57
tree7e93ce347b58e6449725354d9b5ccd31da58b567
parentbbb877ed777236669ed14b5957ae72117f3b3129
batman-adv: make the Distributed ARP Table vlan aware

The same IP subnet can be used on different VLANs, therefore
DAT has to differentiate whether the IP to resolve belongs
to one or the other virtual LAN.
To accomplish this task DAT has to deal with the VLAN tag
and store it together with each ARP entry.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/distributed-arp-table.c
net/batman-adv/types.h