summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-03-31 02:21:41 +0200
committerOndrej Filip <feela@network.cz>2000-03-31 02:21:41 +0200
commitf45fd3164bf2f9342e12e867f8d68c7fc77d3177 (patch)
tree647d271be15eb20a1228db8507e8b73df84e7c25 /proto/ospf/ospf.h
parent14a7921c83f0ecfc8793b3a38e4ac16ae9bd75d3 (diff)
downloadbird-f45fd3164bf2f9342e12e867f8d68c7fc77d3177.tar
bird-f45fd3164bf2f9342e12e867f8d68c7fc77d3177.zip
Sending of lspd as responce to lsreq done.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index bc37fc4..c07d334 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -207,11 +207,6 @@ struct ospf_lsa_rt_link_tos { /* Actually we ignore TOS. This is useless */
u16 metric;
};
-
-struct ospf_lsa_net {
- u32 netmask;
-};
-
struct ospf_lsa_summ {
u32 netmask;
};
@@ -229,7 +224,7 @@ struct ospf_lsa_ext {
struct ospf_lsa_ext_tos {
u8 etos;
u8 padding;
- u16 mertic;
+ u16 metric;
u32 fwaddr;
u32 tag;
};
@@ -246,6 +241,11 @@ struct ospf_lsreq_header {
u32 rt; /* Advertising router */
};
+struct l_lsr_head {
+ node n;
+ struct ospf_lsreq_header lsh;
+};
+
struct ospf_lsupd_packet {
struct ospf_packet ospf_packet;
u32 lsano; /* Number of LSA's */
@@ -345,5 +345,8 @@ static void ospf_postconfig(struct proto_config *c);
#include "proto/ospf/topology.h"
#include "proto/ospf/dbdes.h"
#include "proto/ospf/lsreq.h"
+#include "proto/ospf/lsupd.h"
+#include "proto/ospf/lsack.h"
+#include "proto/ospf/lsalib.h"
#endif /* _BIRD_OSPF_H_ */