summaryrefslogtreecommitdiff
path: root/net/batman-adv/types.h
diff options
context:
space:
mode:
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>2012-01-22 19:00:26 (GMT)
committerAntonio Quartulli <ordex@autistici.org>2012-04-11 12:28:59 (GMT)
commit38ef3d1d919e6a47c3e0d38b3d788aa468a7ede8 (patch)
tree68b0f4c2a95e4074dcb72abc308d218a15d769ac /net/batman-adv/types.h
parentb1a8c04b8af74158e006b92a9e7e0f619e1a9409 (diff)
downloadlinux-38ef3d1d919e6a47c3e0d38b3d788aa468a7ede8.tar.xz
batman-adv: form groups in the bridge loop avoidance
backbone gateways may be part of the same LAN, but participate in different meshes. With this patch, backbone gateways form groups by applying the groupid of another backbone gateway if it is higher. After forming the group, they only accept messages from backbone gateways of the same group. Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r--net/batman-adv/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h
index ad97e87..7f7f610 100644
--- a/net/batman-adv/types.h
+++ b/net/batman-adv/types.h
@@ -193,6 +193,7 @@ struct bat_priv {
struct hashtable_t *vis_hash;
struct bcast_duplist_entry bcast_duplist[DUPLIST_SIZE];
int bcast_duplist_curr;
+ struct bla_claim_dst claim_dest;
spinlock_t forw_bat_list_lock; /* protects forw_bat_list */
spinlock_t forw_bcast_list_lock; /* protects */
spinlock_t tt_changes_list_lock; /* protects tt_changes */