summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 02:03:08 +0200
committerOndrej Filip <feela@network.cz>2000-05-09 02:03:08 +0200
commitfafe44b651f68d0a588cac94ddada8a1270adb97 (patch)
treef199060b570d582d772152d0bfca622388fa3129 /proto
parent43e75f38e7b8716efb3729ee56fd4a879e03c1dc (diff)
downloadbird-fafe44b651f68d0a588cac94ddada8a1270adb97.tar
bird-fafe44b651f68d0a588cac94ddada8a1270adb97.zip
Just added declaration of AS Ext routes calculation.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/rt.c7
-rw-r--r--proto/ospf/rt.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index 6ec70e1..af1015c 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -238,7 +238,14 @@ again:
}
skip:
FIB_ITERATE_END(nftmp);
+}
+
+void
+ospf_ext_spfa(struct proto_ospf *po)
+{
+ struct top_hash_entry *en;
+ /* FIXME Go on */
}
void
diff --git a/proto/ospf/rt.h b/proto/ospf/rt.h
index da2f038..67eca4a 100644
--- a/proto/ospf/rt.h
+++ b/proto/ospf/rt.h
@@ -18,6 +18,7 @@ struct infib {
};
void ospf_rt_spfa(struct ospf_area *oa);
+void ospf_ext_spfa(struct proto_ospf *po);
void add_cand(list *l, struct top_hash_entry *en, struct top_hash_entry *par,
u16 dist, struct ospf_area *oa);
void calc_next_hop(struct top_hash_entry *par, struct top_hash_entry *en,