diff options
Diffstat (limited to 'net/batman-adv/translation-table.h')
-rw-r--r-- | net/batman-adv/translation-table.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/batman-adv/translation-table.h b/net/batman-adv/translation-table.h index c43374dc364d..d6ea30f9b026 100644 --- a/net/batman-adv/translation-table.h +++ b/net/batman-adv/translation-table.h | |||
@@ -23,8 +23,6 @@ | |||
23 | #define _NET_BATMAN_ADV_TRANSLATION_TABLE_H_ | 23 | #define _NET_BATMAN_ADV_TRANSLATION_TABLE_H_ |
24 | 24 | ||
25 | int tt_len(int changes_num); | 25 | int tt_len(int changes_num); |
26 | int tt_changes_fill_buffer(struct bat_priv *bat_priv, | ||
27 | unsigned char *buff, int buff_len); | ||
28 | int tt_init(struct bat_priv *bat_priv); | 26 | int tt_init(struct bat_priv *bat_priv); |
29 | void tt_local_add(struct net_device *soft_iface, const uint8_t *addr, | 27 | void tt_local_add(struct net_device *soft_iface, const uint8_t *addr, |
30 | int ifindex); | 28 | int ifindex); |
@@ -41,18 +39,19 @@ void tt_global_del_orig(struct bat_priv *bat_priv, | |||
41 | struct orig_node *orig_node, const char *message); | 39 | struct orig_node *orig_node, const char *message); |
42 | struct orig_node *transtable_search(struct bat_priv *bat_priv, | 40 | struct orig_node *transtable_search(struct bat_priv *bat_priv, |
43 | const uint8_t *src, const uint8_t *addr); | 41 | const uint8_t *src, const uint8_t *addr); |
44 | uint16_t tt_local_crc(struct bat_priv *bat_priv); | ||
45 | void tt_free(struct bat_priv *bat_priv); | 42 | void tt_free(struct bat_priv *bat_priv); |
46 | bool send_tt_response(struct bat_priv *bat_priv, | 43 | bool send_tt_response(struct bat_priv *bat_priv, |
47 | struct tt_query_packet *tt_request); | 44 | struct tt_query_packet *tt_request); |
48 | bool is_my_client(struct bat_priv *bat_priv, const uint8_t *addr); | 45 | bool is_my_client(struct bat_priv *bat_priv, const uint8_t *addr); |
49 | void handle_tt_response(struct bat_priv *bat_priv, | 46 | void handle_tt_response(struct bat_priv *bat_priv, |
50 | struct tt_query_packet *tt_response); | 47 | struct tt_query_packet *tt_response); |
51 | void tt_commit_changes(struct bat_priv *bat_priv); | ||
52 | bool is_ap_isolated(struct bat_priv *bat_priv, uint8_t *src, uint8_t *dst); | 48 | bool is_ap_isolated(struct bat_priv *bat_priv, uint8_t *src, uint8_t *dst); |
53 | void tt_update_orig(struct bat_priv *bat_priv, struct orig_node *orig_node, | 49 | void tt_update_orig(struct bat_priv *bat_priv, struct orig_node *orig_node, |
54 | const unsigned char *tt_buff, uint8_t tt_num_changes, | 50 | const unsigned char *tt_buff, uint8_t tt_num_changes, |
55 | uint8_t ttvn, uint16_t tt_crc); | 51 | uint8_t ttvn, uint16_t tt_crc); |
52 | int batadv_tt_append_diff(struct bat_priv *bat_priv, | ||
53 | unsigned char **packet_buff, int *packet_buff_len, | ||
54 | int packet_min_len); | ||
56 | bool tt_global_client_is_roaming(struct bat_priv *bat_priv, uint8_t *addr); | 55 | bool tt_global_client_is_roaming(struct bat_priv *bat_priv, uint8_t *addr); |
57 | 56 | ||
58 | 57 | ||