diff options
author | Antonio Quartulli <ordex@autistici.org> | 2012-06-30 20:01:19 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-11-07 20:00:20 +0100 |
commit | 2f1dfbe185075a50dc8f0490a136377af53a1c62 (patch) | |
tree | 45ade201ca4b63e4409fc21567db0f750abc8bc7 /net/batman-adv/distributed-arp-table.h | |
parent | 785ea1144182c341b8b85b0f8180291839d176a8 (diff) |
batman-adv: Distributed ARP Table - implement local storage
Since batman-adv cannot inter-operate with the host ARP table, this patch
introduces a batman-adv private storage for ARP entries exchanged within DAT.
This storage will represent the node local cache in the DAT protocol.
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/distributed-arp-table.h')
-rw-r--r-- | net/batman-adv/distributed-arp-table.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/batman-adv/distributed-arp-table.h b/net/batman-adv/distributed-arp-table.h index ea9cbd806a1f..1b88303ed6c2 100644 --- a/net/batman-adv/distributed-arp-table.h +++ b/net/batman-adv/distributed-arp-table.h @@ -55,4 +55,8 @@ batadv_dat_init_own_addr(struct batadv_priv *bat_priv, bat_priv->dat.addr = (batadv_dat_addr_t)addr; } +int batadv_dat_init(struct batadv_priv *bat_priv); +void batadv_dat_free(struct batadv_priv *bat_priv); +int batadv_dat_cache_seq_print_text(struct seq_file *seq, void *offset); + #endif /* _NET_BATMAN_ADV_ARP_H_ */ |