Hello people,
with this patchset I want to introduce a new feature in the TT code which makes it VLAN aware. This means that now clients belonging to different VLANs created on top of a generic bat0 are treated differently.
This change gives the possibility to: - enable AP isolation only on a selected VLAN rather than on all the traffic - make DAT work correctly when the same IP subnet is used on different VLANs - leave the possibility to future developers to implement more VLAN specific attributes
This code is based on top of hundeboll/fragmentation.
Cheers,
Antonio Quartulli (7): batman-adv: add the VLAN ID attribute to the TT entry batman-adv: use vid when computing local and global TT CRC batman-adv: print the VID together with the TT entries batman-adv: make the GW module correctly talk to the new VLAN-TT batman-adv: make the Distributed ARP Table vlan aware batman-adv: add per VLAN interface attribute framework batman-adv: make the AP isolation attribute VLAN specific
distributed-arp-table.c | 129 ++++++++++++------ gateway_client.c | 10 +- main.c | 46 ++++++- main.h | 11 +- packet.h | 12 ++ routing.c | 27 +++- send.c | 8 +- send.h | 16 ++- soft-interface.c | 99 ++++++++++++-- sysfs.c | 140 ++++++++++++++++++++ sysfs.h | 10 ++ translation-table.c | 343 +++++++++++++++++++++++++++++++++++------------- translation-table.h | 25 ++-- types.h | 27 ++++ 14 files changed, 732 insertions(+), 171 deletions(-)