summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>1999-08-24 14:42:51 +0000
committerOndrej Filip <feela@network.cz>1999-08-24 14:42:51 +0000
commite3121112ab8cda4b4e413a801e5626f9ffb02ca8 (patch)
tree8bd42dda3884690a78643f074788ad5c1f0c626d /proto/ospf/ospf.h
parent2981814066543b72e292b7b36ca41bfa1cc2554c (diff)
Preparing to send DD packets.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index ca563a4a..dde436c9 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -123,6 +123,8 @@ struct ospf_neighbor
#define NEIGHBOR_FULL 7
timer *inactim; /* Inactivity timer */
byte ms; /* Master/slave */
+#define NEIGHBOR_SLAVE 0
+#define NEIGHBOR_MASTER 1
u32 dds; /* DD Sequence number being sentg */
u32 ddr; /* last Dat Des packet */
u32 rid; /* Router ID */
@@ -130,6 +132,7 @@ struct ospf_neighbor
byte options; /* Options */
u32 dr; /* Neigbour's idea of DR */
u32 bdr; /* Neigbour's idea of BDR */
+ u8 adj; /* built adjacency? */
};
#endif /* _BIRD_OSPF_H_ */