summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-06 01:44:26 +0200
committerOndrej Filip <feela@network.cz>2000-06-06 01:44:26 +0200
commite5b5d18c1c8b33e76e954c0696e056fc11701631 (patch)
tree601de62d327c3fb3d030c239f53f52b5261f9af2 /proto/ospf/ospf.h
parent5c18880e35f668d33a993be5b2854547a08d9199 (diff)
downloadbird-e5b5d18c1c8b33e76e954c0696e056fc11701631.tar
bird-e5b5d18c1c8b33e76e954c0696e056fc11701631.zip
NBMA networks should work now.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index d44db95..6736fa0 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -52,6 +52,11 @@ struct ospf_config {
list area_list;
};
+struct nbma_node {
+ node n;
+ ip_addr ip;
+};
+
struct ospf_area_config {
node n;
u32 areaid;
@@ -114,6 +119,7 @@ struct ospf_iface {
*/
struct top_hash_entry *nlsa; /* Originated net lsa */
int fadj; /* Number of full adjacent neigh */
+ list nbma_list;
};
struct ospf_packet {
@@ -369,6 +375,7 @@ struct ospf_iface_patt {
int waitint;
int deadc;
int type;
+ list nbma_list;
};
static int ospf_start(struct proto *p);