aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/routing.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/routing.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/routing.h')
-rw-r--r--net/batman-adv/routing.h50
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
23void batadv_slide_own_bcast_window(struct hard_iface *hard_iface); 23void batadv_slide_own_bcast_window(struct batadv_hard_iface *hard_iface);
24bool batadv_check_management_packet(struct sk_buff *skb, 24bool 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);
27void batadv_update_route(struct bat_priv *bat_priv, struct orig_node *orig_node, 27void batadv_update_route(struct batadv_priv *bat_priv,
28 struct neigh_node *neigh_node); 28 struct batadv_orig_node *orig_node,
29int batadv_recv_icmp_packet(struct sk_buff *skb, struct hard_iface *recv_if); 29 struct batadv_neigh_node *neigh_node);
30int batadv_recv_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if); 30int batadv_recv_icmp_packet(struct sk_buff *skb,
31 struct batadv_hard_iface *recv_if);
32int batadv_recv_unicast_packet(struct sk_buff *skb,
33 struct batadv_hard_iface *recv_if);
31int batadv_recv_ucast_frag_packet(struct sk_buff *skb, 34int batadv_recv_ucast_frag_packet(struct sk_buff *skb,
32 struct hard_iface *recv_if); 35 struct batadv_hard_iface *recv_if);
33int batadv_recv_bcast_packet(struct sk_buff *skb, struct hard_iface *recv_if); 36int batadv_recv_bcast_packet(struct sk_buff *skb,
34int batadv_recv_vis_packet(struct sk_buff *skb, struct hard_iface *recv_if); 37 struct batadv_hard_iface *recv_if);
35int batadv_recv_tt_query(struct sk_buff *skb, struct hard_iface *recv_if); 38int batadv_recv_vis_packet(struct sk_buff *skb,
36int batadv_recv_roam_adv(struct sk_buff *skb, struct hard_iface *recv_if); 39 struct batadv_hard_iface *recv_if);
37struct neigh_node *batadv_find_router(struct bat_priv *bat_priv, 40int 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); 42int batadv_recv_roam_adv(struct sk_buff *skb,
40void batadv_bonding_candidate_del(struct orig_node *orig_node, 43 struct batadv_hard_iface *recv_if);
41 struct neigh_node *neigh_node); 44struct batadv_neigh_node *
42void batadv_bonding_candidate_add(struct orig_node *orig_node, 45batadv_find_router(struct batadv_priv *bat_priv,
43 struct neigh_node *neigh_node); 46 struct batadv_orig_node *orig_node,
44void 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, 48void batadv_bonding_candidate_del(struct batadv_orig_node *orig_node,
49 struct batadv_neigh_node *neigh_node);
50void batadv_bonding_candidate_add(struct batadv_orig_node *orig_node,
51 struct batadv_neigh_node *neigh_node);
52void 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);
48int batadv_window_protected(struct bat_priv *bat_priv, int32_t seq_num_diff, 56int 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_ */