Lines Matching refs:ttvn

675 		   "Creating new local tt entry: %pM (vid: %d, ttvn: %d)\n",
681 * a full table response going out before the next ttvn increment
829 (*tt_data)->ttvn = atomic_read(&orig_node->last_ttvn);
908 (*tt_data)->ttvn = atomic_read(&bat_priv->tt.vn);
1185 * response issued before the net ttvn increment (consistency check)
1483 * @ttvn: translation table version number of this changeset
1488 struct batadv_orig_node *orig_node, int ttvn,
1497 /* refresh the ttvn: the current value could be a bogus one that
1500 orig_entry->ttvn = ttvn;
1513 orig_entry->ttvn = ttvn;
1537 * @ttvn: the tt version number ever announcing this non-mesh client
1552 unsigned short vid, u16 flags, u8 ttvn)
1669 batadv_tt_global_orig_entry_add(tt_global_entry, orig_node, ttvn,
1789 nla_put_u8(msg, BATADV_ATTR_TT_TTVN, orig->ttvn) ||
2858 * @ttvn: the version number that the source of the message is looking for
2868 u8 ttvn,
2895 tvlv_tt_data->ttvn = ttvn;
2962 "Received TT_REQUEST from %pM for ttvn: %u (%pM) [%c]\n",
2963 req_src, tt_data->ttvn, req_dst,
2976 req_ttvn = tt_data->ttvn;
3039 tvlv_tt_data->ttvn = req_ttvn;
3045 "Sending TT_RESPONSE %pM for %pM [%c] (ttvn: %u)\n",
3091 "Received TT_REQUEST from %pM for ttvn: %u (me) [%c]\n",
3092 req_src, tt_data->ttvn,
3098 req_ttvn = tt_data->ttvn;
3158 tvlv_tt_data->ttvn = req_ttvn;
3164 "Sending TT_RESPONSE to %pM [%c] (ttvn: %u)\n",
3208 u16 tt_num_changes, u8 ttvn)
3225 (tt_change + i)->flags, ttvn))
3229 * ttvn change. This will avoid to send
3240 u8 ttvn, u8 *resp_src,
3254 ttvn);
3262 atomic_set(&orig_node->last_ttvn, ttvn);
3270 u16 tt_num_changes, u8 ttvn,
3274 tt_num_changes, ttvn);
3278 atomic_set(&orig_node->last_ttvn, ttvn);
3328 "Received TT_RESPONSE from %pM for ttvn %d t_size: %d [%c]\n",
3329 resp_src, tt_data->ttvn, num_entries,
3342 batadv_tt_fill_gtable(bat_priv, tt_change, tt_data->ttvn,
3346 tt_data->ttvn, tt_change);
3651 "Local changes committed, updating to ttvn %u\n",
3723 * @ttvn: translation table version number of this changeset
3729 u16 tt_num_changes, u8 ttvn)
3740 /* orig table not initialised AND first diff is in the OGM OR the ttvn
3743 if ((!has_tt_init && ttvn == 1) || ttvn - orig_ttvn == 1) {
3757 ttvn, tt_change);
3767 /* The ttvn alone is not enough to guarantee consistency
3772 * ttvn is X and reconnect on ttvn = X + TTVN_MAX: in this case
3783 if (!has_tt_init || ttvn != orig_ttvn ||
3788 "TT inconsistency for %pM. Need to retrieve the correct information (ttvn: %u last_ttvn: %u num_changes: %u)\n",
3789 orig_node->orig, ttvn, orig_ttvn,
3791 batadv_send_tt_request(bat_priv, orig_node, ttvn,
3959 tt_change, num_entries, tt_data->ttvn);