diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-03-01 02:35:21 -0500 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-05-11 07:55:57 -0400 |
commit | 7ae8b2852f946c71fdbd910156baa605a4ae3cee (patch) | |
tree | d5d436a84baa564adaddc498e94d5e4b5a40816b /net/batman-adv/originator.h | |
parent | 0b0094e000840115b5baece2293c5fb1aab4fded (diff) |
batman-adv: split neigh_new function into generic and batman iv specific parts
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/originator.h')
-rw-r--r-- | net/batman-adv/originator.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/batman-adv/originator.h b/net/batman-adv/originator.h index 3fe2eda85652..f74d0d693359 100644 --- a/net/batman-adv/originator.h +++ b/net/batman-adv/originator.h | |||
@@ -29,10 +29,9 @@ void originator_free(struct bat_priv *bat_priv); | |||
29 | void purge_orig_ref(struct bat_priv *bat_priv); | 29 | void purge_orig_ref(struct bat_priv *bat_priv); |
30 | void orig_node_free_ref(struct orig_node *orig_node); | 30 | void orig_node_free_ref(struct orig_node *orig_node); |
31 | struct orig_node *get_orig_node(struct bat_priv *bat_priv, const uint8_t *addr); | 31 | struct orig_node *get_orig_node(struct bat_priv *bat_priv, const uint8_t *addr); |
32 | struct neigh_node *create_neighbor(struct orig_node *orig_node, | 32 | struct neigh_node *batadv_neigh_node_new(struct hard_iface *hard_iface, |
33 | struct orig_node *orig_neigh_node, | 33 | const uint8_t *neigh_addr, |
34 | const uint8_t *neigh, | 34 | uint32_t seqno); |
35 | struct hard_iface *if_incoming); | ||
36 | void neigh_node_free_ref(struct neigh_node *neigh_node); | 35 | void neigh_node_free_ref(struct neigh_node *neigh_node); |
37 | struct neigh_node *orig_node_get_router(struct orig_node *orig_node); | 36 | struct neigh_node *orig_node_get_router(struct orig_node *orig_node); |
38 | int orig_seq_print_text(struct seq_file *seq, void *offset); | 37 | int orig_seq_print_text(struct seq_file *seq, void *offset); |