summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-26 12:54:23 +0000
committerOndrej Filip <feela@network.cz>2000-04-26 12:54:23 +0000
commitdfa9a53a66e5747ddbeedfa0a47fa2ca9fc93b99 (patch)
treebee849b2e5b275c64721f6a6bb541ce8e0d80619 /proto/ospf/ospf.h
parent0cadd5f531a82578ea6323f730cf8204b755895f (diff)
Routing table calculation. Dijkstra done.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index 00397870..939bae7d 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -202,6 +202,10 @@ struct ospf_lsa_rt_link_tos { /* Actually we ignore TOS. This is useless */
u16 metric;
};
+struct ospf_lsa_net {
+ u32 netmask;
+};
+
struct ospf_lsa_summ {
u32 netmask;
};
@@ -320,7 +324,9 @@ struct ospf_area {
struct top_graph *gr; /* LSA graph */
slist lsal; /* List of all LSA's */
struct top_hash_entry *rt; /* My own router LSA */
- int stub;
+ list cand; /* List of candidates for RT calc. */
+ u8 stub;
+ u8 trcap; /* Transit capability? */
};
struct proto_ospf {
@@ -330,6 +336,11 @@ struct proto_ospf {
int areano; /* Number of area I belong to */
};
+struct spf_n {
+ node n;
+ struct top_hash_entry *en;
+};
+
static int ospf_start(struct proto *p);
static void ospf_dump(struct proto *p);
static struct proto *ospf_init(struct proto_config *c);
@@ -346,5 +357,6 @@ static void ospf_postconfig(struct proto_config *c);
#include "proto/ospf/lsupd.h"
#include "proto/ospf/lsack.h"
#include "proto/ospf/lsalib.h"
+#include "proto/ospf/rt.h"
#endif /* _BIRD_OSPF_H_ */