batman-adv: rename everything from *hna* into *tt* (translation table)
To be coherent, all the functions/variables/constants have been renamed to the TranslationTable style Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:

committed by
Sven Eckelmann

parent
01df2b65e9
commit
2dafb49d84
@@ -22,22 +22,22 @@
|
||||
#ifndef _NET_BATMAN_ADV_TRANSLATION_TABLE_H_
|
||||
#define _NET_BATMAN_ADV_TRANSLATION_TABLE_H_
|
||||
|
||||
int hna_local_init(struct bat_priv *bat_priv);
|
||||
void hna_local_add(struct net_device *soft_iface, uint8_t *addr);
|
||||
void hna_local_remove(struct bat_priv *bat_priv,
|
||||
int tt_local_init(struct bat_priv *bat_priv);
|
||||
void tt_local_add(struct net_device *soft_iface, uint8_t *addr);
|
||||
void tt_local_remove(struct bat_priv *bat_priv,
|
||||
uint8_t *addr, char *message);
|
||||
int hna_local_fill_buffer(struct bat_priv *bat_priv,
|
||||
int tt_local_fill_buffer(struct bat_priv *bat_priv,
|
||||
unsigned char *buff, int buff_len);
|
||||
int hna_local_seq_print_text(struct seq_file *seq, void *offset);
|
||||
void hna_local_free(struct bat_priv *bat_priv);
|
||||
int hna_global_init(struct bat_priv *bat_priv);
|
||||
void hna_global_add_orig(struct bat_priv *bat_priv,
|
||||
int tt_local_seq_print_text(struct seq_file *seq, void *offset);
|
||||
void tt_local_free(struct bat_priv *bat_priv);
|
||||
int tt_global_init(struct bat_priv *bat_priv);
|
||||
void tt_global_add_orig(struct bat_priv *bat_priv,
|
||||
struct orig_node *orig_node,
|
||||
unsigned char *hna_buff, int hna_buff_len);
|
||||
int hna_global_seq_print_text(struct seq_file *seq, void *offset);
|
||||
void hna_global_del_orig(struct bat_priv *bat_priv,
|
||||
unsigned char *tt_buff, int tt_buff_len);
|
||||
int tt_global_seq_print_text(struct seq_file *seq, void *offset);
|
||||
void tt_global_del_orig(struct bat_priv *bat_priv,
|
||||
struct orig_node *orig_node, char *message);
|
||||
void hna_global_free(struct bat_priv *bat_priv);
|
||||
void tt_global_free(struct bat_priv *bat_priv);
|
||||
struct orig_node *transtable_search(struct bat_priv *bat_priv, uint8_t *addr);
|
||||
|
||||
#endif /* _NET_BATMAN_ADV_TRANSLATION_TABLE_H_ */
|
||||
|
Reference in New Issue
Block a user