aboutsummaryrefslogtreecommitdiff
path: root/net/batman-adv/gateway_client.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2011-09-08 13:12:53 +0200
committerSven Eckelmann <sven@narfation.org>2011-11-20 13:08:32 +0100
commitbe7af5cf9cae5e088a9783ccd6e47469ce9d43f4 (patch)
treebdbe10d4fbc6792df1a76b17a539e9c72b0dd8b2 /net/batman-adv/gateway_client.h
parent25a92b138dcd1eb46e82d1afdf03fd787837c019 (diff)
downloadvexpress-lsk-be7af5cf9cae5e088a9783ccd6e47469ce9d43f4.tar.gz
batman-adv: refactoring gateway handling code
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Acked-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/gateway_client.h')
-rw-r--r--net/batman-adv/gateway_client.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/batman-adv/gateway_client.h b/net/batman-adv/gateway_client.h
index b9b983c07fe..e1edba08eb1 100644
--- a/net/batman-adv/gateway_client.h
+++ b/net/batman-adv/gateway_client.h
@@ -31,7 +31,8 @@ void gw_node_update(struct bat_priv *bat_priv,
void gw_node_delete(struct bat_priv *bat_priv, struct orig_node *orig_node);
void gw_node_purge(struct bat_priv *bat_priv);
int gw_client_seq_print_text(struct seq_file *seq, void *offset);
-int gw_is_target(struct bat_priv *bat_priv, struct sk_buff *skb,
- struct orig_node *old_gw);
+bool gw_is_dhcp_target(struct sk_buff *skb, unsigned int *header_len);
+bool gw_out_of_range(struct bat_priv *bat_priv,
+ struct sk_buff *skb, struct ethhdr *ethhdr);
#endif /* _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ */