diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-02 19:55:55 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-02 19:55:55 +0000 |
commit | b36a0a799c751864f65bc3384df301448b54f3bf (patch) | |
tree | 4aee12f80b50dee4c5e00ffb7bf6249a45f54990 /proto/ospf/ospf.h | |
parent | 7e602d5ea74206236373230a4620736370b3cc9c (diff) |
area {} added to config.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r-- | proto/ospf/ospf.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 4627af1b..92095cf9 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -48,8 +48,14 @@ struct ospf_config { struct proto_config c; int rfc1583; - u32 area; /* FIXME: Area ID !!! This is wrong !!! - * Should respect interface */ + list area_list; +}; + +struct ospf_area_config { + node n; + u32 areaid; + int stub; + unsigned tick; }; struct ospf_iface { @@ -105,6 +111,7 @@ struct ospf_iface { */ struct top_hash_entry *nlsa; /* Originated net lsa */ int fadj; /* Number of full adjacent neigh */ + unsigned tick; }; struct ospf_packet { @@ -334,8 +341,8 @@ 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. */ - u8 stub; - u8 trcap; /* Transit capability? */ + int stub; + int trcap; /* Transit capability? */ struct proto_ospf *po; struct fib infib; /* FIB for intra-area routes */ }; |