summaryrefslogtreecommitdiff
path: root/net/batman-adv/gateway_client.h
diff options
context:
space:
mode:
authorAntonio Quartulli <a@unstable.cc>2016-07-03 13:46:34 +0300
committerSimon Wunderlich <sw@simonwunderlich.de>2016-08-09 08:54:30 +0300
commit50164d8f500f1cd211178f7b3d062987d68fe013 (patch)
tree68adc6e26dd6a457161bdab8d9a06a18aaf15bea /net/batman-adv/gateway_client.h
parent34d99cfefaac596adfe9b69f5e7c2cd291af2334 (diff)
downloadlinux-50164d8f500f1cd211178f7b3d062987d68fe013.tar.xz
batman-adv: B.A.T.M.A.N. V - implement GW selection logic
Since the GW selection logic has been made routing protocol specific it is now possible for B.A.T.M.A.N V to have its own mechanism by providing the API implementation. Implement the GW specific API in the B.A.T.M.A.N. V protocol in order to provide a working GW selection mechanism. Signed-off-by: Antonio Quartulli <a@unstable.cc> Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/gateway_client.h')
-rw-r--r--net/batman-adv/gateway_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/gateway_client.h b/net/batman-adv/gateway_client.h
index 4c9edde48914..6b40432aa1ed 100644
--- a/net/batman-adv/gateway_client.h
+++ b/net/batman-adv/gateway_client.h
@@ -47,5 +47,7 @@ bool batadv_gw_out_of_range(struct batadv_priv *bat_priv, struct sk_buff *skb);
enum batadv_dhcp_recipient
batadv_gw_dhcp_recipient_get(struct sk_buff *skb, unsigned int *header_len,
u8 *chaddr);
+struct batadv_gw_node *batadv_gw_node_get(struct batadv_priv *bat_priv,
+ struct batadv_orig_node *orig_node);
#endif /* _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ */