summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2001-08-12 02:04:42 +0200
committerOndrej Filip <feela@network.cz>2001-08-12 02:04:42 +0200
commitc926eee72471d8127ff833548b0ce1f8cb6de276 (patch)
tree5e666a8ff7694298330db15e8ac97309f76cf9ab /proto/ospf/ospf.h
parentb2bdb4065667f466575b831f4a3166bd309d9d14 (diff)
downloadbird-c926eee72471d8127ff833548b0ce1f8cb6de276.tar
bird-c926eee72471d8127ff833548b0ce1f8cb6de276.zip
Area networks added into configuration.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index 11283a7..d04638b 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -65,12 +65,20 @@ struct nbma_node {
int eligible;
};
+struct area_net {
+ node n;
+ ip_addr net;
+ int mlen;
+ int hidden;
+};
+
struct ospf_area_config {
node n;
u32 areaid;
int stub;
unsigned tick;
list patt_list;
+ list net_list;
};
struct ospf_iface {
@@ -379,6 +387,7 @@ struct ospf_area {
slist lsal; /* List of all LSA's */
struct top_hash_entry *rt; /* My own router LSA */
list cand; /* List of candidates for RT calc. */
+ list net_list; /* Networks to advertise or not */
int stub;
int trcap; /* Transit capability? */
struct proto_ospf *po;