summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/types.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2011-11-28 17:40:17 +0800
committerMarek Lindner <lindner_marek@yahoo.de>2012-02-17 02:50:20 +0800
commit1c280471b013e26c833fc86acc231c73442cfa21 (patch)
treeff48395664f514b1c8f2f14e78c5b3c4da653702 /net/batman-adv/types.h
parent6e242f9037f8a82ce2608c20a5460b670b2d5ff4 (diff)
downloadtalos-op-linux-1c280471b013e26c833fc86acc231c73442cfa21.tar.gz
talos-op-linux-1c280471b013e26c833fc86acc231c73442cfa21.zip
batman-adv: add infrastructure to change routing algorithm at runtime
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r--net/batman-adv/types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h
index 35085f410b96..d21ff2cf668e 100644
--- a/net/batman-adv/types.h
+++ b/net/batman-adv/types.h
@@ -206,6 +206,7 @@ struct bat_priv {
atomic_t gw_reselect;
struct hard_iface __rcu *primary_if; /* rcu protected pointer */
struct vis_info *my_vis_info;
+ struct bat_algo_ops *bat_algo_ops;
};
struct socket_client {
@@ -344,4 +345,9 @@ struct softif_neigh {
struct rcu_head rcu;
};
+struct bat_algo_ops {
+ struct hlist_node list;
+ char *name;
+};
+
#endif /* _NET_BATMAN_ADV_TYPES_H_ */
OpenPOWER on IntegriCloud