diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-06-05 16:31:31 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-07-01 16:47:21 -0400 |
commit | 56303d34a332be8e2f4daf7891ebc12cb7900529 (patch) | |
tree | bc972916771e698bd8a88fd66917950ce0bd48c1 /net/batman-adv/routing.h | |
parent | 96412690116afcc1b2705615b5a7c8dc6c5e905f (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/routing.h')
-rw-r--r-- | net/batman-adv/routing.h | 50 |
1 files changed, 29 insertions, 21 deletions
diff --git a/net/batman-adv/routing.h b/net/batman-adv/routing.h index ead4ae055776..9262279ea667 100644 --- a/net/batman-adv/routing.h +++ b/net/batman-adv/routing.h | |||
@@ -20,32 +20,40 @@ | |||
20 | #ifndef _NET_BATMAN_ADV_ROUTING_H_ | 20 | #ifndef _NET_BATMAN_ADV_ROUTING_H_ |
21 | #define _NET_BATMAN_ADV_ROUTING_H_ | 21 | #define _NET_BATMAN_ADV_ROUTING_H_ |
22 | 22 | ||
23 | void batadv_slide_own_bcast_window(struct hard_iface *hard_iface); | 23 | void batadv_slide_own_bcast_window(struct batadv_hard_iface *hard_iface); |
24 | bool batadv_check_management_packet(struct sk_buff *skb, | 24 | bool batadv_check_management_packet(struct sk_buff *skb, |
25 | struct hard_iface *hard_iface, | 25 | struct batadv_hard_iface *hard_iface, |
26 | int header_len); | 26 | int header_len); |
27 | void batadv_update_route(struct bat_priv *bat_priv, struct orig_node *orig_node, | 27 | void batadv_update_route(struct batadv_priv *bat_priv, |
28 | struct neigh_node *neigh_node); | 28 | struct batadv_orig_node *orig_node, |
29 | int batadv_recv_icmp_packet(struct sk_buff *skb, struct hard_iface *recv_if); | 29 | struct batadv_neigh_node *neigh_node); |
30 | int batadv_recv_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if); | 30 | int batadv_recv_icmp_packet(struct sk_buff *skb, |
31 | struct batadv_hard_iface *recv_if); | ||
32 | int batadv_recv_unicast_packet(struct sk_buff *skb, | ||
33 | struct batadv_hard_iface *recv_if); | ||
31 | int batadv_recv_ucast_frag_packet(struct sk_buff *skb, | 34 | int batadv_recv_ucast_frag_packet(struct sk_buff *skb, |
32 | struct hard_iface *recv_if); | 35 | struct batadv_hard_iface *recv_if); |
33 | int batadv_recv_bcast_packet(struct sk_buff *skb, struct hard_iface *recv_if); | 36 | int batadv_recv_bcast_packet(struct sk_buff *skb, |
34 | int batadv_recv_vis_packet(struct sk_buff *skb, struct hard_iface *recv_if); | 37 | struct batadv_hard_iface *recv_if); |
35 | int batadv_recv_tt_query(struct sk_buff *skb, struct hard_iface *recv_if); | 38 | int batadv_recv_vis_packet(struct sk_buff *skb, |
36 | int batadv_recv_roam_adv(struct sk_buff *skb, struct hard_iface *recv_if); | 39 | struct batadv_hard_iface *recv_if); |
37 | struct neigh_node *batadv_find_router(struct bat_priv *bat_priv, | 40 | int batadv_recv_tt_query(struct sk_buff *skb, |
38 | struct orig_node *orig_node, | 41 | struct batadv_hard_iface *recv_if); |
39 | const struct hard_iface *recv_if); | 42 | int batadv_recv_roam_adv(struct sk_buff *skb, |
40 | void batadv_bonding_candidate_del(struct orig_node *orig_node, | 43 | struct batadv_hard_iface *recv_if); |
41 | struct neigh_node *neigh_node); | 44 | struct batadv_neigh_node * |
42 | void batadv_bonding_candidate_add(struct orig_node *orig_node, | 45 | batadv_find_router(struct batadv_priv *bat_priv, |
43 | struct neigh_node *neigh_node); | 46 | struct batadv_orig_node *orig_node, |
44 | void batadv_bonding_save_primary(const struct orig_node *orig_node, | 47 | const struct batadv_hard_iface *recv_if); |
45 | struct orig_node *orig_neigh_node, | 48 | void batadv_bonding_candidate_del(struct batadv_orig_node *orig_node, |
49 | struct batadv_neigh_node *neigh_node); | ||
50 | void batadv_bonding_candidate_add(struct batadv_orig_node *orig_node, | ||
51 | struct batadv_neigh_node *neigh_node); | ||
52 | void batadv_bonding_save_primary(const struct batadv_orig_node *orig_node, | ||
53 | struct batadv_orig_node *orig_neigh_node, | ||
46 | const struct batadv_ogm_packet | 54 | const struct batadv_ogm_packet |
47 | *batman_ogm_packet); | 55 | *batman_ogm_packet); |
48 | int batadv_window_protected(struct bat_priv *bat_priv, int32_t seq_num_diff, | 56 | int batadv_window_protected(struct batadv_priv *bat_priv, int32_t seq_num_diff, |
49 | unsigned long *last_reset); | 57 | unsigned long *last_reset); |
50 | 58 | ||
51 | #endif /* _NET_BATMAN_ADV_ROUTING_H_ */ | 59 | #endif /* _NET_BATMAN_ADV_ROUTING_H_ */ |