diff options
Diffstat (limited to 'net/batman-adv/routing.h')
-rw-r--r-- | net/batman-adv/routing.h | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/net/batman-adv/routing.h b/net/batman-adv/routing.h index f108f230bfdb..b5a064c88a4f 100644 --- a/net/batman-adv/routing.h +++ b/net/batman-adv/routing.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2007-2010 B.A.T.M.A.N. contributors: | 2 | * Copyright (C) 2007-2011 B.A.T.M.A.N. contributors: |
3 | * | 3 | * |
4 | * Marek Lindner, Simon Wunderlich | 4 | * Marek Lindner, Simon Wunderlich |
5 | * | 5 | * |
@@ -22,27 +22,25 @@ | |||
22 | #ifndef _NET_BATMAN_ADV_ROUTING_H_ | 22 | #ifndef _NET_BATMAN_ADV_ROUTING_H_ |
23 | #define _NET_BATMAN_ADV_ROUTING_H_ | 23 | #define _NET_BATMAN_ADV_ROUTING_H_ |
24 | 24 | ||
25 | #include "types.h" | 25 | void slide_own_bcast_window(struct hard_iface *hard_iface); |
26 | |||
27 | void slide_own_bcast_window(struct batman_if *batman_if); | ||
28 | void receive_bat_packet(struct ethhdr *ethhdr, | 26 | void receive_bat_packet(struct ethhdr *ethhdr, |
29 | struct batman_packet *batman_packet, | 27 | struct batman_packet *batman_packet, |
30 | unsigned char *hna_buff, int hna_buff_len, | 28 | unsigned char *hna_buff, int hna_buff_len, |
31 | struct batman_if *if_incoming); | 29 | struct hard_iface *if_incoming); |
32 | void update_routes(struct bat_priv *bat_priv, struct orig_node *orig_node, | 30 | void update_routes(struct bat_priv *bat_priv, struct orig_node *orig_node, |
33 | struct neigh_node *neigh_node, unsigned char *hna_buff, | 31 | struct neigh_node *neigh_node, unsigned char *hna_buff, |
34 | int hna_buff_len); | 32 | int hna_buff_len); |
35 | int route_unicast_packet(struct sk_buff *skb, struct batman_if *recv_if, | 33 | int route_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if); |
36 | int hdr_size); | 34 | int recv_icmp_packet(struct sk_buff *skb, struct hard_iface *recv_if); |
37 | int recv_icmp_packet(struct sk_buff *skb, struct batman_if *recv_if); | 35 | int recv_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if); |
38 | int recv_unicast_packet(struct sk_buff *skb, struct batman_if *recv_if); | 36 | int recv_ucast_frag_packet(struct sk_buff *skb, struct hard_iface *recv_if); |
39 | int recv_ucast_frag_packet(struct sk_buff *skb, struct batman_if *recv_if); | 37 | int recv_bcast_packet(struct sk_buff *skb, struct hard_iface *recv_if); |
40 | int recv_bcast_packet(struct sk_buff *skb, struct batman_if *recv_if); | 38 | int recv_vis_packet(struct sk_buff *skb, struct hard_iface *recv_if); |
41 | int recv_vis_packet(struct sk_buff *skb, struct batman_if *recv_if); | 39 | int recv_bat_packet(struct sk_buff *skb, struct hard_iface *recv_if); |
42 | int recv_bat_packet(struct sk_buff *skb, struct batman_if *recv_if); | ||
43 | struct neigh_node *find_router(struct bat_priv *bat_priv, | 40 | struct neigh_node *find_router(struct bat_priv *bat_priv, |
44 | struct orig_node *orig_node, struct batman_if *recv_if); | 41 | struct orig_node *orig_node, |
45 | void update_bonding_candidates(struct bat_priv *bat_priv, | 42 | struct hard_iface *recv_if); |
46 | struct orig_node *orig_node); | 43 | void bonding_candidate_del(struct orig_node *orig_node, |
44 | struct neigh_node *neigh_node); | ||
47 | 45 | ||
48 | #endif /* _NET_BATMAN_ADV_ROUTING_H_ */ | 46 | #endif /* _NET_BATMAN_ADV_ROUTING_H_ */ |