diff options
Diffstat (limited to 'net/batman-adv/gateway_client.h')
-rw-r--r-- | net/batman-adv/gateway_client.h | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/net/batman-adv/gateway_client.h b/net/batman-adv/gateway_client.h index bf56a5aea10b..f0d129e323c8 100644 --- a/net/batman-adv/gateway_client.h +++ b/net/batman-adv/gateway_client.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* | 1 | /* Copyright (C) 2009-2012 B.A.T.M.A.N. contributors: |
2 | * Copyright (C) 2009-2012 B.A.T.M.A.N. contributors: | ||
3 | * | 2 | * |
4 | * Marek Lindner | 3 | * Marek Lindner |
5 | * | 4 | * |
@@ -16,23 +15,26 @@ | |||
16 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software |
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
18 | * 02110-1301, USA | 17 | * 02110-1301, USA |
19 | * | ||
20 | */ | 18 | */ |
21 | 19 | ||
22 | #ifndef _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ | 20 | #ifndef _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ |
23 | #define _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ | 21 | #define _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ |
24 | 22 | ||
25 | void gw_deselect(struct bat_priv *bat_priv); | 23 | void batadv_gw_deselect(struct batadv_priv *bat_priv); |
26 | void gw_election(struct bat_priv *bat_priv); | 24 | void batadv_gw_election(struct batadv_priv *bat_priv); |
27 | struct orig_node *gw_get_selected_orig(struct bat_priv *bat_priv); | 25 | struct batadv_orig_node * |
28 | void gw_check_election(struct bat_priv *bat_priv, struct orig_node *orig_node); | 26 | batadv_gw_get_selected_orig(struct batadv_priv *bat_priv); |
29 | void gw_node_update(struct bat_priv *bat_priv, | 27 | void batadv_gw_check_election(struct batadv_priv *bat_priv, |
30 | struct orig_node *orig_node, uint8_t new_gwflags); | 28 | struct batadv_orig_node *orig_node); |
31 | void gw_node_delete(struct bat_priv *bat_priv, struct orig_node *orig_node); | 29 | void batadv_gw_node_update(struct batadv_priv *bat_priv, |
32 | void gw_node_purge(struct bat_priv *bat_priv); | 30 | struct batadv_orig_node *orig_node, |
33 | int gw_client_seq_print_text(struct seq_file *seq, void *offset); | 31 | uint8_t new_gwflags); |
34 | bool gw_is_dhcp_target(struct sk_buff *skb, unsigned int *header_len); | 32 | void batadv_gw_node_delete(struct batadv_priv *bat_priv, |
35 | bool gw_out_of_range(struct bat_priv *bat_priv, | 33 | struct batadv_orig_node *orig_node); |
36 | struct sk_buff *skb, struct ethhdr *ethhdr); | 34 | void batadv_gw_node_purge(struct batadv_priv *bat_priv); |
35 | int batadv_gw_client_seq_print_text(struct seq_file *seq, void *offset); | ||
36 | bool batadv_gw_is_dhcp_target(struct sk_buff *skb, unsigned int *header_len); | ||
37 | bool batadv_gw_out_of_range(struct batadv_priv *bat_priv, | ||
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_ */ |