aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/unicast.c
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.c
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.c')
-rw-r--r--net/batman-adv/unicast.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/batman-adv/unicast.c b/net/batman-adv/unicast.c
index c0d318b587ee..c9a1f6523c36 100644
--- a/net/batman-adv/unicast.c
+++ b/net/batman-adv/unicast.c
@@ -347,10 +347,10 @@ static bool batadv_unicast_prepare_skb(struct sk_buff *skb,
347 * 347 *
348 * Returns false if the payload could not be encapsulated or true otherwise 348 * Returns false if the payload could not be encapsulated or true otherwise
349 */ 349 */
350static bool batadv_unicast_4addr_prepare_skb(struct batadv_priv *bat_priv, 350bool batadv_unicast_4addr_prepare_skb(struct batadv_priv *bat_priv,
351 struct sk_buff *skb, 351 struct sk_buff *skb,
352 struct batadv_orig_node *orig, 352 struct batadv_orig_node *orig,
353 int packet_subtype) 353 int packet_subtype)
354{ 354{
355 struct batadv_hard_iface *primary_if; 355 struct batadv_hard_iface *primary_if;
356 struct batadv_unicast_4addr_packet *unicast_4addr_packet; 356 struct batadv_unicast_4addr_packet *unicast_4addr_packet;