batman-adv: add the VLAN ID attribute to the TT entry
To make the translation table code VLAN-aware, each entry must carry the VLAN ID which it belongs to. This patch adds such attribute to the related TT structures. Signed-off-by:Antonio Quartulli <antonio@open-mesh.com> Signed-off-by:
Marek Lindner <lindner_marek@yahoo.de>
Showing
- net/batman-adv/bridge_loop_avoidance.c 11 additions, 24 deletionsnet/batman-adv/bridge_loop_avoidance.c
- net/batman-adv/distributed-arp-table.c 7 additions, 4 deletionsnet/batman-adv/distributed-arp-table.c
- net/batman-adv/gateway_client.c 2 additions, 1 deletionnet/batman-adv/gateway_client.c
- net/batman-adv/main.c 28 additions, 1 deletionnet/batman-adv/main.c
- net/batman-adv/main.h 1 addition, 8 deletionsnet/batman-adv/main.h
- net/batman-adv/packet.h 12 additions, 2 deletionsnet/batman-adv/packet.h
- net/batman-adv/routing.c 16 additions, 10 deletionsnet/batman-adv/routing.c
- net/batman-adv/send.c 5 additions, 3 deletionsnet/batman-adv/send.c
- net/batman-adv/send.h 10 additions, 6 deletionsnet/batman-adv/send.h
- net/batman-adv/soft-interface.c 18 additions, 17 deletionsnet/batman-adv/soft-interface.c
- net/batman-adv/translation-table.c 189 additions, 51 deletionsnet/batman-adv/translation-table.c
- net/batman-adv/translation-table.h 11 additions, 8 deletionsnet/batman-adv/translation-table.h
- net/batman-adv/types.h 2 additions, 0 deletionsnet/batman-adv/types.h
Loading
Please register or sign in to comment