diff options
author | Ondrej Filip <feela@network.cz> | 2001-08-12 00:04:42 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2001-08-12 00:04:42 +0000 |
commit | c926eee72471d8127ff833548b0ce1f8cb6de276 (patch) | |
tree | 5e666a8ff7694298330db15e8ac97309f76cf9ab /proto/ospf/ospf.h | |
parent | b2bdb4065667f466575b831f4a3166bd309d9d14 (diff) |
Area networks added into configuration.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r-- | proto/ospf/ospf.h | 9 |
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; |