From e3121112ab8cda4b4e413a801e5626f9ffb02ca8 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 24 Aug 1999 14:42:51 +0000 Subject: Preparing to send DD packets. --- proto/ospf/ospf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'proto/ospf/ospf.h') diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index ca563a4..dde436c 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_ */ -- cgit v1.2.3