aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/gateway_client.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-06-05 16:31:31 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-07-01 16:47:21 -0400
commit56303d34a332be8e2f4daf7891ebc12cb7900529 (patch)
treebc972916771e698bd8a88fd66917950ce0bd48c1 /net/batman-adv/gateway_client.h
parent96412690116afcc1b2705615b5a7c8dc6c5e905f (diff)
batman-adv: Prefix types structs with batadv_
Reported-by: Martin Hundebøll <martin@hundeboll.net> 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.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/net/batman-adv/gateway_client.h b/net/batman-adv/gateway_client.h
index 4529d42894ef..f0d129e323c8 100644
--- a/net/batman-adv/gateway_client.h
+++ b/net/batman-adv/gateway_client.h
@@ -20,19 +20,21 @@
20#ifndef _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ 20#ifndef _NET_BATMAN_ADV_GATEWAY_CLIENT_H_
21#define _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ 21#define _NET_BATMAN_ADV_GATEWAY_CLIENT_H_
22 22
23void batadv_gw_deselect(struct bat_priv *bat_priv); 23void batadv_gw_deselect(struct batadv_priv *bat_priv);
24void batadv_gw_election(struct bat_priv *bat_priv); 24void batadv_gw_election(struct batadv_priv *bat_priv);
25struct orig_node *batadv_gw_get_selected_orig(struct bat_priv *bat_priv); 25struct batadv_orig_node *
26void batadv_gw_check_election(struct bat_priv *bat_priv, 26batadv_gw_get_selected_orig(struct batadv_priv *bat_priv);
27 struct orig_node *orig_node); 27void batadv_gw_check_election(struct batadv_priv *bat_priv,
28void batadv_gw_node_update(struct bat_priv *bat_priv, 28 struct batadv_orig_node *orig_node);
29 struct orig_node *orig_node, uint8_t new_gwflags); 29void batadv_gw_node_update(struct batadv_priv *bat_priv,
30void batadv_gw_node_delete(struct bat_priv *bat_priv, 30 struct batadv_orig_node *orig_node,
31 struct orig_node *orig_node); 31 uint8_t new_gwflags);
32void batadv_gw_node_purge(struct bat_priv *bat_priv); 32void batadv_gw_node_delete(struct batadv_priv *bat_priv,
33 struct batadv_orig_node *orig_node);
34void batadv_gw_node_purge(struct batadv_priv *bat_priv);
33int batadv_gw_client_seq_print_text(struct seq_file *seq, void *offset); 35int batadv_gw_client_seq_print_text(struct seq_file *seq, void *offset);
34bool batadv_gw_is_dhcp_target(struct sk_buff *skb, unsigned int *header_len); 36bool batadv_gw_is_dhcp_target(struct sk_buff *skb, unsigned int *header_len);
35bool batadv_gw_out_of_range(struct bat_priv *bat_priv, 37bool batadv_gw_out_of_range(struct batadv_priv *bat_priv,
36 struct sk_buff *skb, struct ethhdr *ethhdr); 38 struct sk_buff *skb, struct ethhdr *ethhdr);
37 39
38#endif /* _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ */ 40#endif /* _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ */