return new;
}
-struct ospf_path *
+static struct ospf_path *
ospf_path_dup (struct ospf_path *path)
{
struct ospf_path *new;
/* delete routes generated from AS-External routes if there is a inter/intra
* area route
*/
-void
+static void
ospf_route_delete_same_ext(struct route_table *external_routes,
struct route_table *routes)
{
}
/* rt: Old, cmprt: New */
-void
+static void
ospf_route_delete_uniq (struct route_table *rt, struct route_table *cmprt)
{
struct route_node *rn;
}
}
-void
+static void
ospf_intra_route_add (struct route_table *rt, struct vertex *v,
struct ospf_area *area)
{
o Intra-area paths using non-backbone areas are always the most preferred.
o The other paths, intra-area backbone paths and inter-area paths,
are of equal preference. */
-int
+static int
ospf_asbr_route_cmp (struct ospf *ospf, struct ospf_route *r1,
struct ospf_route *r2)
{
return (r1->cost - r2->cost);
}
-int
+static int
ospf_path_exist (struct list *plist, struct in_addr nexthop,
struct ospf_interface *oi)
{