Lines Matching refs:candidate
440 ospf_install_candidate (list candidate, struct vertex *w)
445 if (list_isempty (candidate))
447 listnode_add (candidate, w);
452 for (node = listhead (candidate); node; nextnode (node))
457 list_add_node_prev (candidate, node, w);
462 list_add_node_next (candidate, node, w);
471 list candidate, struct route_table *rv,
599 /* Is there already vertex W in candidate list? */
600 node = ospf_vertex_lookup (candidate, w->id, w->type);
606 ospf_install_candidate (candidate, w);
633 /* Remove old vertex from candidate list. */
635 listnode_delete (candidate, cw);
637 /* Install new to candidate. */
638 ospf_install_candidate (candidate, w);
876 list candidate;
905 /* Clear the list of candidate vertices. */
906 candidate = list_new ();
921 ospf_spf_next (v, area, candidate, rv, nv);
924 /* If at this step the candidate list is empty, the shortest-
927 if (listcount (candidate) == 0)
930 /* Otherwise, choose the vertex belonging to the candidate list
932 tree (removing it from the candidate list in the
934 node = listhead (candidate);
938 /* Reveve from the candidate list. */
939 listnode_delete (candidate, v);
973 /* Free candidate list */
974 list_free (candidate);