linux/net/batman-adv
Antonio Quartulli cfd4f75701 batman-adv: make the backbone gw check VLAN specific
The backbone gw check has to be VLAN specific so that code
using it can specify VID where the check has to be done.

In the TT code, the check has been moved into the
tt_global_add() function so that it can be performed on a
per-entry basis instead of ignoring all the TT data received
from another backbone node. Only TT global entries belonging
to the VLAN where the backbone node is connected to are
skipped.
All the other spots where the TT code was checking whether a
node is a backbone have been removed.

Moreover, batadv_bla_is_backbone_gw_orig() now returns bool
since it used to return only 1 or 0.

Cc: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2013-10-19 23:25:38 +02:00
..
bat_algo.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bat_iv_ogm.c batman-adv: remove vis functionality 2013-10-09 21:22:32 +02:00
bitarray.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bitarray.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bridge_loop_avoidance.c batman-adv: make the backbone gw check VLAN specific 2013-10-19 23:25:38 +02:00
bridge_loop_avoidance.h batman-adv: make the backbone gw check VLAN specific 2013-10-19 23:25:38 +02:00
debugfs.c batman-adv: remove vis functionality 2013-10-09 21:22:32 +02:00
debugfs.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
distributed-arp-table.c batman-adv: refine API calls for unicast transmissions of SKBs 2013-10-19 17:31:54 +02:00
distributed-arp-table.h batman-adv: tvlv - add distributed arp table container 2013-10-09 21:22:27 +02:00
fragmentation.c batman-adv: Fragment and send skbs larger than mtu 2013-10-12 11:58:35 +02:00
fragmentation.h batman-adv: Fragment and send skbs larger than mtu 2013-10-12 11:58:35 +02:00
gateway_client.c batman-adv: remove bogus comment 2013-10-19 17:31:55 +02:00
gateway_client.h batman-adv: tvlv - gateway download/upload bandwidth container 2013-10-09 21:22:27 +02:00
gateway_common.c batman-adv: tvlv - gateway download/upload bandwidth container 2013-10-09 21:22:27 +02:00
gateway_common.h batman-adv: tvlv - gateway download/upload bandwidth container 2013-10-09 21:22:27 +02:00
hard-interface.c batman-adv: add per VLAN interface attribute framework 2013-10-19 17:28:08 +02:00
hard-interface.h batman-adv: Don't always delete softif when last slave was removed 2013-03-27 10:27:32 +01:00
hash.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
hash.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
icmp_socket.c batman-adv: create common header for ICMP packets 2013-10-12 17:17:09 +02:00
icmp_socket.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
Kconfig batman-adv: network coding - add the initial infrastructure code 2013-03-13 22:53:48 +01:00
main.c batman-adv: lock around TT operations to avoid sending inconsistent data 2013-10-19 17:31:56 +02:00
main.h batman-adv: print the VID together with the TT entries 2013-10-19 15:11:25 +02:00
Makefile batman-adv: Receive fragmented packets and merge 2013-10-12 11:58:34 +02:00
network-coding.c batman-adv: tvlv - add network coding container 2013-10-09 21:22:28 +02:00
network-coding.h batman-adv: tvlv - add network coding container 2013-10-09 21:22:28 +02:00
originator.c batman-adv: make the TT global purge routine VLAN specific 2013-10-19 23:25:37 +02:00
originator.h batman-adv: make the TT CRC logic VLAN specific 2013-10-19 23:25:12 +02:00
packet.h batman-adv: make the TT CRC logic VLAN specific 2013-10-19 23:25:12 +02:00
routing.c batman-adv: make the TT global purge routine VLAN specific 2013-10-19 23:25:37 +02:00
routing.h batman-adv: Receive fragmented packets and merge 2013-10-12 11:58:34 +02:00
send.c batman-adv: refine API calls for unicast transmissions of SKBs 2013-10-19 17:31:54 +02:00
send.h batman-adv: refine API calls for unicast transmissions of SKBs 2013-10-19 17:31:54 +02:00
soft-interface.c batman-adv: refine API calls for unicast transmissions of SKBs 2013-10-19 17:31:54 +02:00
soft-interface.h batman-adv: add sysfs framework for VLAN 2013-10-19 17:28:42 +02:00
sysfs.c batman-adv: make the AP isolation attribute VLAN specific 2013-10-19 17:28:47 +02:00
sysfs.h batman-adv: add sysfs framework for VLAN 2013-10-19 17:28:42 +02:00
translation-table.c batman-adv: make the backbone gw check VLAN specific 2013-10-19 23:25:38 +02:00
translation-table.h batman-adv: make the TT global purge routine VLAN specific 2013-10-19 23:25:37 +02:00
types.h batman-adv: make the TT CRC logic VLAN specific 2013-10-19 23:25:12 +02:00