aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/unicast.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/unicast.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/unicast.h')
-rw-r--r--net/batman-adv/unicast.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/batman-adv/unicast.h b/net/batman-adv/unicast.h
index e0b6e335797e..1c46e2eb1ef9 100644
--- a/net/batman-adv/unicast.h
+++ b/net/batman-adv/unicast.h
@@ -25,12 +25,13 @@
25#define BATADV_FRAG_TIMEOUT 10000 /* purge frag list entries after time in ms */ 25#define BATADV_FRAG_TIMEOUT 10000 /* purge frag list entries after time in ms */
26#define BATADV_FRAG_BUFFER_SIZE 6 /* number of list elements in buffer */ 26#define BATADV_FRAG_BUFFER_SIZE 6 /* number of list elements in buffer */
27 27
28int batadv_frag_reassemble_skb(struct sk_buff *skb, struct bat_priv *bat_priv, 28int batadv_frag_reassemble_skb(struct sk_buff *skb,
29 struct batadv_priv *bat_priv,
29 struct sk_buff **new_skb); 30 struct sk_buff **new_skb);
30void batadv_frag_list_free(struct list_head *head); 31void batadv_frag_list_free(struct list_head *head);
31int batadv_unicast_send_skb(struct sk_buff *skb, struct bat_priv *bat_priv); 32int batadv_unicast_send_skb(struct sk_buff *skb, struct batadv_priv *bat_priv);
32int batadv_frag_send_skb(struct sk_buff *skb, struct bat_priv *bat_priv, 33int batadv_frag_send_skb(struct sk_buff *skb, struct batadv_priv *bat_priv,
33 struct hard_iface *hard_iface, 34 struct batadv_hard_iface *hard_iface,
34 const uint8_t dstaddr[]); 35 const uint8_t dstaddr[]);
35 36
36static inline int batadv_frag_can_reassemble(const struct sk_buff *skb, int mtu) 37static inline int batadv_frag_can_reassemble(const struct sk_buff *skb, int mtu)