Lines Matching refs:ttvn

722 		   "Creating new local tt entry: %pM (vid: %d, ttvn: %d)\n",
728 * a full table response going out before the next ttvn increment
881 (*tt_data)->ttvn = atomic_read(&orig_node->last_ttvn);
961 (*tt_data)->ttvn = atomic_read(&bat_priv->tt.vn);
1311 * response issued before the net ttvn increment (consistency check)
1610 * @ttvn: translation table version number of this changeset
1615 struct batadv_orig_node *orig_node, int ttvn,
1624 /* refresh the ttvn: the current value could be a bogus one that
1627 orig_entry->ttvn = ttvn;
1640 orig_entry->ttvn = ttvn;
1665 * @ttvn: the tt version number ever announcing this non-mesh client
1680 unsigned short vid, u16 flags, u8 ttvn)
1797 batadv_tt_global_orig_entry_add(tt_global_entry, orig_node, ttvn,
1920 best_entry->ttvn, best_entry->orig_node->orig,
1952 orig_entry->ttvn, orig_entry->orig_node->orig,
2054 nla_put_u8(msg, BATADV_ATTR_TT_TTVN, orig->ttvn) ||
3133 * @ttvn: the version number that the source of the message is looking for
3143 u8 ttvn,
3171 tvlv_tt_data->ttvn = ttvn;
3243 "Received TT_REQUEST from %pM for ttvn: %u (%pM) [%c]\n",
3244 req_src, tt_data->ttvn, req_dst,
3257 req_ttvn = tt_data->ttvn;
3320 tvlv_tt_data->ttvn = req_ttvn;
3326 "Sending TT_RESPONSE %pM for %pM [%c] (ttvn: %u)\n",
3374 "Received TT_REQUEST from %pM for ttvn: %u (me) [%c]\n",
3375 req_src, tt_data->ttvn,
3381 req_ttvn = tt_data->ttvn;
3439 tvlv_tt_data->ttvn = req_ttvn;
3445 "Sending TT_RESPONSE to %pM [%c] (ttvn: %u)\n",
3491 u16 tt_num_changes, u8 ttvn)
3508 (tt_change + i)->flags, ttvn))
3512 * ttvn change. This will avoid to send
3523 u8 ttvn, u8 *resp_src,
3537 ttvn);
3545 atomic_set(&orig_node->last_ttvn, ttvn);
3554 u16 tt_num_changes, u8 ttvn,
3558 tt_num_changes, ttvn);
3562 atomic_set(&orig_node->last_ttvn, ttvn);
3614 "Received TT_RESPONSE from %pM for ttvn %d t_size: %d [%c]\n",
3615 resp_src, tt_data->ttvn, num_entries,
3631 batadv_tt_fill_gtable(bat_priv, tt_change, tt_data->ttvn,
3635 tt_data->ttvn, tt_change);
3942 "Local changes committed, updating to ttvn %u\n",
4014 * @ttvn: translation table version number of this changeset
4020 u16 tt_num_changes, u8 ttvn)
4031 /* orig table not initialised AND first diff is in the OGM OR the ttvn
4034 if ((!has_tt_init && ttvn == 1) || ttvn - orig_ttvn == 1) {
4048 ttvn, tt_change);
4058 /* The ttvn alone is not enough to guarantee consistency
4063 * ttvn is X and reconnect on ttvn = X + TTVN_MAX: in this case
4074 if (!has_tt_init || ttvn != orig_ttvn ||
4079 "TT inconsistency for %pM. Need to retrieve the correct information (ttvn: %u last_ttvn: %u num_changes: %u)\n",
4080 orig_node->orig, ttvn, orig_ttvn,
4082 batadv_send_tt_request(bat_priv, orig_node, ttvn,
4251 num_entries, tt_data->ttvn);