summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-06-11 17:25:38 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-06-11 17:25:38 +0200
commit386752028143e78d0a617216d86f95af4024346d (patch)
tree374611e90ecc021013e4c78a88face13069f1a87 /proto/ospf/ospf.h
parent3d15dcdb1cc91c694aa9319b86bb37510d7ed12b (diff)
downloadbird-386752028143e78d0a617216d86f95af4024346d.tar
bird-386752028143e78d0a617216d86f95af4024346d.zip
Implements an option that allows to change a set of stub networks.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index 71f99d3..23f21b8 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -99,6 +99,14 @@ struct area_net
u32 metric;
};
+struct ospf_stubnet_config
+{
+ node n;
+ struct prefix px;
+ int hidden, summary;
+ u32 cost;
+};
+
struct ospf_area_config
{
node n;
@@ -107,6 +115,7 @@ struct ospf_area_config
list patt_list;
list vlink_list;
list net_list;
+ list stubnet_list;
};
struct obits
@@ -523,6 +532,7 @@ struct ospf_area
{
node n;
u32 areaid;
+ struct ospf_area_config *ac; /* Related area config */
int origrt; /* Rt lsa origination scheduled? */
struct top_hash_entry *rt; /* My own router LSA */
list cand; /* List of candidates for RT calc. */