H A D | translation-table.c | 582 "Creating new local tt entry: %pM (vid: %d, ttvn: %d)\n", batadv_tt_local_add() 588 * a full table response going out before the next ttvn increment batadv_tt_local_add() 737 (*tt_data)->ttvn = atomic_read(&orig_node->last_ttvn); batadv_tt_prepare_tvlv_global_data() 809 (*tt_data)->ttvn = atomic_read(&bat_priv->tt.vn); batadv_tt_prepare_tvlv_local_data() 993 * response issued before the net ttvn increment (consistency check) batadv_tt_local_set_pending() 1260 struct batadv_orig_node *orig_node, int ttvn) batadv_tt_global_orig_entry_add() 1266 /* refresh the ttvn: the current value could be a bogus one that batadv_tt_global_orig_entry_add() 1269 orig_entry->ttvn = ttvn; batadv_tt_global_orig_entry_add() 1281 orig_entry->ttvn = ttvn; batadv_tt_global_orig_entry_add() 1302 * @ttvn: the tt version number ever announcing this non-mesh client 1318 uint8_t ttvn) batadv_tt_global_add() 1424 batadv_tt_global_orig_entry_add(tt_global_entry, orig_node, ttvn); batadv_tt_global_add() 1545 best_entry->ttvn, best_entry->orig_node->orig, batadv_tt_global_print_entry() 1577 orig_entry->ttvn, orig_entry->orig_node->orig, hlist_for_each_entry_rcu() 2445 * @ttvn: the version number that the source of the message is looking for 2453 uint8_t ttvn, batadv_send_tt_request() 2481 tvlv_tt_data->ttvn = ttvn; batadv_send_tt_request() 2546 "Received TT_REQUEST from %pM for ttvn: %u (%pM) [%c]\n", batadv_send_other_tt_response() 2547 req_src, tt_data->ttvn, req_dst, batadv_send_other_tt_response() 2560 req_ttvn = tt_data->ttvn; batadv_send_other_tt_response() 2623 tvlv_tt_data->ttvn = req_ttvn; batadv_send_other_tt_response() 2629 "Sending TT_RESPONSE %pM for %pM [%c] (ttvn: %u)\n", batadv_send_other_tt_response() 2677 "Received TT_REQUEST from %pM for ttvn: %u (me) [%c]\n", batadv_send_my_tt_response() 2678 req_src, tt_data->ttvn, batadv_send_my_tt_response() 2684 req_ttvn = tt_data->ttvn; batadv_send_my_tt_response() 2742 tvlv_tt_data->ttvn = req_ttvn; batadv_send_my_tt_response() 2748 "Sending TT_RESPONSE to %pM [%c] (ttvn: %u)\n", batadv_send_my_tt_response() 2794 uint16_t tt_num_changes, uint8_t ttvn) _batadv_tt_update_changes() 2811 (tt_change + i)->flags, ttvn)) _batadv_tt_update_changes() 2815 * ttvn change. This will avoid to send _batadv_tt_update_changes() 2826 uint8_t ttvn, uint8_t *resp_src, batadv_tt_fill_gtable() 2840 ttvn); batadv_tt_fill_gtable() 2848 atomic_set(&orig_node->last_ttvn, ttvn); batadv_tt_fill_gtable() 2857 uint16_t tt_num_changes, uint8_t ttvn, batadv_tt_update_changes() 2861 tt_num_changes, ttvn); batadv_tt_update_changes() 2865 atomic_set(&orig_node->last_ttvn, ttvn); batadv_tt_update_changes() 2916 "Received TT_RESPONSE from %pM for ttvn %d t_size: %d [%c]\n", batadv_handle_tt_response() 2917 resp_src, tt_data->ttvn, num_entries, batadv_handle_tt_response() 2933 batadv_tt_fill_gtable(bat_priv, tt_change, tt_data->ttvn, batadv_handle_tt_response() 2937 tt_data->ttvn, tt_change); batadv_handle_tt_response() 3244 "Local changes committed, updating to ttvn %u\n", batadv_tt_local_commit_changes_nolock() 3308 * @ttvn: translation table version number of this changeset 3315 uint16_t tt_num_changes, uint8_t ttvn) batadv_tt_update_orig() 3326 /* orig table not initialised AND first diff is in the OGM OR the ttvn batadv_tt_update_orig() 3329 if ((!has_tt_init && ttvn == 1) || ttvn - orig_ttvn == 1) { batadv_tt_update_orig() 3343 ttvn, tt_change); batadv_tt_update_orig() 3353 /* The ttvn alone is not enough to guarantee consistency batadv_tt_update_orig() 3358 * ttvn is X and reconnect on ttvn = X + TTVN_MAX: in this case batadv_tt_update_orig() 3369 if (!has_tt_init || ttvn != orig_ttvn || batadv_tt_update_orig() 3374 "TT inconsistency for %pM. Need to retrieve the correct information (ttvn: %u last_ttvn: %u num_changes: %u)\n", batadv_tt_update_orig() 3375 orig_node->orig, ttvn, orig_ttvn, batadv_tt_update_orig() 3377 batadv_send_tt_request(bat_priv, orig_node, ttvn, batadv_tt_update_orig() 3534 num_entries, tt_data->ttvn); batadv_tt_tvlv_ogm_handler_v1() 1259 batadv_tt_global_orig_entry_add(struct batadv_tt_global_entry *tt_global, struct batadv_orig_node *orig_node, int ttvn) batadv_tt_global_orig_entry_add() argument 1314 batadv_tt_global_add(struct batadv_priv *bat_priv, struct batadv_orig_node *orig_node, const unsigned char *tt_addr, unsigned short vid, uint16_t flags, uint8_t ttvn) batadv_tt_global_add() argument 2451 batadv_send_tt_request(struct batadv_priv *bat_priv, struct batadv_orig_node *dst_orig_node, uint8_t ttvn, struct batadv_tvlv_tt_vlan_data *tt_vlan, uint16_t num_vlan, bool full_table) batadv_send_tt_request() argument 2791 _batadv_tt_update_changes(struct batadv_priv *bat_priv, struct batadv_orig_node *orig_node, struct batadv_tvlv_tt_change *tt_change, uint16_t tt_num_changes, uint8_t ttvn) _batadv_tt_update_changes() argument 2824 batadv_tt_fill_gtable(struct batadv_priv *bat_priv, struct batadv_tvlv_tt_change *tt_change, uint8_t ttvn, uint8_t *resp_src, uint16_t num_entries) batadv_tt_fill_gtable() argument 2855 batadv_tt_update_changes(struct batadv_priv *bat_priv, struct batadv_orig_node *orig_node, uint16_t tt_num_changes, uint8_t ttvn, struct batadv_tvlv_tt_change *tt_change) batadv_tt_update_changes() argument 3311 batadv_tt_update_orig(struct batadv_priv *bat_priv, struct batadv_orig_node *orig_node, const void *tt_buff, uint16_t tt_num_vlan, struct batadv_tvlv_tt_change *tt_change, uint16_t tt_num_changes, uint8_t ttvn) batadv_tt_update_orig() argument
|