aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/unicast.h
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2011-11-23 05:35:44 -0500
committerAntonio Quartulli <ordex@autistici.org>2012-11-07 14:00:19 -0500
commit785ea1144182c341b8b85b0f8180291839d176a8 (patch)
tree218d58e56db4e2a2ef49c6ab0d889cdb6e1df309 /net/batman-adv/unicast.h
parent0e861a3c4ffef56822e1d51c355e5020deaeaf5a (diff)
batman-adv: Distributed ARP Table - create DHT helper functions
Add all the relevant functions in order to manage a Distributed Hash Table over the B.A.T.M.A.N.-adv network. It will later be used to store several ARP entries and implement DAT (Distributed ARP Table) Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/unicast.h')
-rw-r--r--net/batman-adv/unicast.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/batman-adv/unicast.h b/net/batman-adv/unicast.h
index a88ed2941c6a..61abba58bd8f 100644
--- a/net/batman-adv/unicast.h
+++ b/net/batman-adv/unicast.h
@@ -32,6 +32,10 @@ void batadv_frag_list_free(struct list_head *head);
32int batadv_frag_send_skb(struct sk_buff *skb, struct batadv_priv *bat_priv, 32int batadv_frag_send_skb(struct sk_buff *skb, struct batadv_priv *bat_priv,
33 struct batadv_hard_iface *hard_iface, 33 struct batadv_hard_iface *hard_iface,
34 const uint8_t dstaddr[]); 34 const uint8_t dstaddr[]);
35bool batadv_unicast_4addr_prepare_skb(struct batadv_priv *bat_priv,
36 struct sk_buff *skb,
37 struct batadv_orig_node *orig_node,
38 int packet_subtype);
35int batadv_unicast_generic_send_skb(struct batadv_priv *bat_priv, 39int batadv_unicast_generic_send_skb(struct batadv_priv *bat_priv,
36 struct sk_buff *skb, int packet_type, 40 struct sk_buff *skb, int packet_type,
37 int packet_subtype); 41 int packet_subtype);