Searched refs:ttvn (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/net/batman-adv/
H A Dtranslation-table.c582 "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
H A Dsend.c157 uint8_t ttvn = (uint8_t)atomic_read(&orig_node->last_ttvn); batadv_send_skb_push_fill_unicast() local
171 unicast_packet->ttvn = ttvn; batadv_send_skb_push_fill_unicast()
291 * try to reroute it because the ttvn contained in the header is less batadv_send_skb_unicast()
295 unicast_packet->ttvn = unicast_packet->ttvn - 1; batadv_send_skb_unicast()
H A Dpacket.h327 * @ttvn: translation table version number
334 uint8_t ttvn; /* destination translation table version number */ member in struct:batadv_unicast_packet
495 * @ttvn: translation table version number
501 uint8_t ttvn; member in struct:batadv_tvlv_tt_data
H A Drouting.c668 unicast_packet->ttvn = orig_ttvn; batadv_reroute_unicast_packet()
745 is_old_ttvn = batadv_seq_before(unicast_packet->ttvn, curr_ttvn); batadv_check_unicast_ttvn()
749 old_ttvn = unicast_packet->ttvn; batadv_check_unicast_ttvn()
781 unicast_packet->ttvn = curr_ttvn; batadv_check_unicast_ttvn()
H A Dnetwork-coding.c1119 coded_packet->first_ttvn = packet1->ttvn; batadv_nc_code_packets()
1127 coded_packet->second_ttvn = packet2->ttvn; batadv_nc_code_packets()
1615 uint8_t *orig_dest, ttl, ttvn; batadv_nc_skb_decode_packet() local
1652 ttvn = coded_packet_tmp.second_ttvn; batadv_nc_skb_decode_packet()
1656 ttvn = coded_packet_tmp.first_ttvn; batadv_nc_skb_decode_packet()
1684 unicast_packet->ttvn = ttvn; batadv_nc_skb_decode_packet()
H A Dtypes.h960 * @ttvn: translation table version number which added the non-mesh client
967 uint8_t ttvn; member in struct:batadv_tt_orig_list_entry

Completed in 157 milliseconds