diff options
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r-- | proto/ospf/ospf.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 0039787..939bae7 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_ */ |