summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
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 11283a7e..d04638b1 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;