diff options
author | Marek Lindner <mareklindner@neomailbox.ch> | 2015-08-04 21:09:55 +0800 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2015-12-16 00:21:41 +0800 |
commit | cef63419f7dbd52e535d1932a88904b3facb1546 (patch) | |
tree | 166cd7f6ab64dd82b1be76e24a3c14c23a6cb496 /net/batman-adv/originator.h | |
parent | 030ee5f648e2c4e04bfa870b622a359e1040e591 (diff) | |
download | linux-cef63419f7dbd52e535d1932a88904b3facb1546.tar.gz linux-cef63419f7dbd52e535d1932a88904b3facb1546.tar.bz2 linux-cef63419f7dbd52e535d1932a88904b3facb1546.zip |
batman-adv: add list of unique single hop neighbors per hard-interface
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/originator.h')
-rw-r--r-- | net/batman-adv/originator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/batman-adv/originator.h b/net/batman-adv/originator.h index fa18f9bf266b..eae0557fa5fa 100644 --- a/net/batman-adv/originator.h +++ b/net/batman-adv/originator.h @@ -41,6 +41,11 @@ void batadv_orig_node_free_ref(struct batadv_orig_node *orig_node); void batadv_orig_node_free_ref_now(struct batadv_orig_node *orig_node); struct batadv_orig_node *batadv_orig_node_new(struct batadv_priv *bat_priv, const u8 *addr); +struct batadv_hardif_neigh_node * +batadv_hardif_neigh_get(const struct batadv_hard_iface *hard_iface, + const u8 *neigh_addr); +void +batadv_hardif_neigh_free_ref(struct batadv_hardif_neigh_node *hardif_neigh); struct batadv_neigh_node * batadv_neigh_node_new(struct batadv_orig_node *orig_node, struct batadv_hard_iface *hard_iface, |