Lines Matching refs:ttvn

721 		   "Creating new local tt entry: %pM (vid: %d, ttvn: %d)\n",
727 * a full table response going out before the next ttvn increment
876 (*tt_data)->ttvn = atomic_read(&orig_node->last_ttvn);
956 (*tt_data)->ttvn = atomic_read(&bat_priv->tt.vn);
1226 * response issued before the net ttvn increment (consistency check)
1524 * @ttvn: translation table version number of this changeset
1529 struct batadv_orig_node *orig_node, int ttvn,
1538 /* refresh the ttvn: the current value could be a bogus one that
1541 orig_entry->ttvn = ttvn;
1554 orig_entry->ttvn = ttvn;
1578 * @ttvn: the tt version number ever announcing this non-mesh client
1593 unsigned short vid, u16 flags, u8 ttvn)
1710 batadv_tt_global_orig_entry_add(tt_global_entry, orig_node, ttvn,
1830 nla_put_u8(msg, BATADV_ATTR_TT_TTVN, orig->ttvn) ||
2903 * @ttvn: the version number that the source of the message is looking for
2913 u8 ttvn,
2941 tvlv_tt_data->ttvn = ttvn;
3011 "Received TT_REQUEST from %pM for ttvn: %u (%pM) [%c]\n",
3012 req_src, tt_data->ttvn, req_dst,
3025 req_ttvn = tt_data->ttvn;
3088 tvlv_tt_data->ttvn = req_ttvn;
3094 "Sending TT_RESPONSE %pM for %pM [%c] (ttvn: %u)\n",
3140 "Received TT_REQUEST from %pM for ttvn: %u (me) [%c]\n",
3141 req_src, tt_data->ttvn,
3147 req_ttvn = tt_data->ttvn;
3205 tvlv_tt_data->ttvn = req_ttvn;
3211 "Sending TT_RESPONSE to %pM [%c] (ttvn: %u)\n",
3255 u16 tt_num_changes, u8 ttvn)
3272 (tt_change + i)->flags, ttvn))
3276 * ttvn change. This will avoid to send
3287 u8 ttvn, u8 *resp_src,
3301 ttvn);
3309 atomic_set(&orig_node->last_ttvn, ttvn);
3317 u16 tt_num_changes, u8 ttvn,
3321 tt_num_changes, ttvn);
3325 atomic_set(&orig_node->last_ttvn, ttvn);
3376 "Received TT_RESPONSE from %pM for ttvn %d t_size: %d [%c]\n",
3377 resp_src, tt_data->ttvn, num_entries,
3393 batadv_tt_fill_gtable(bat_priv, tt_change, tt_data->ttvn,
3397 tt_data->ttvn, tt_change);
3702 "Local changes committed, updating to ttvn %u\n",
3774 * @ttvn: translation table version number of this changeset
3780 u16 tt_num_changes, u8 ttvn)
3791 /* orig table not initialised AND first diff is in the OGM OR the ttvn
3794 if ((!has_tt_init && ttvn == 1) || ttvn - orig_ttvn == 1) {
3808 ttvn, tt_change);
3818 /* The ttvn alone is not enough to guarantee consistency
3823 * ttvn is X and reconnect on ttvn = X + TTVN_MAX: in this case
3834 if (!has_tt_init || ttvn != orig_ttvn ||
3839 "TT inconsistency for %pM. Need to retrieve the correct information (ttvn: %u last_ttvn: %u num_changes: %u)\n",
3840 orig_node->orig, ttvn, orig_ttvn,
3842 batadv_send_tt_request(bat_priv, orig_node, ttvn,
4011 num_entries, tt_data->ttvn);