From c926eee72471d8127ff833548b0ce1f8cb6de276 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sun, 12 Aug 2001 00:04:42 +0000 Subject: Area networks added into configuration. --- proto/ospf/ospf.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'proto/ospf/ospf.h') 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; -- cgit v1.2.3