Searched refs:current_min_hop (Results 1 – 2 of 2) sorted by relevance
141 uint8_t current_min_hop, remote_min_hop, in dnup_bfs_by_node() local159 current_min_hop = osm_switch_get_least_hops(u->sw, lid); in dnup_bfs_by_node()177 current_min_hop+=prune_weight; in dnup_bfs_by_node()178 if(current_min_hop >= 64) { in dnup_bfs_by_node()189 if (current_min_hop + 1 < remote_min_hop) { in dnup_bfs_by_node()193 current_min_hop + 1); in dnup_bfs_by_node()194 if(max_hops && current_min_hop + 1 > *max_hops) { in dnup_bfs_by_node()195 *max_hops = current_min_hop + 1; in dnup_bfs_by_node()
146 uint8_t current_min_hop, remote_min_hop, in updn_bfs_by_node() local176 current_min_hop = osm_switch_get_least_hops(u->sw, lid); in updn_bfs_by_node()181 if (current_min_hop + 1 < remote_min_hop) { in updn_bfs_by_node()185 current_min_hop + 1); in updn_bfs_by_node()