From f45fd3164bf2f9342e12e867f8d68c7fc77d3177 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Fri, 31 Mar 2000 00:21:41 +0000 Subject: Sending of lspd as responce to lsreq done. --- proto/ospf/ospf.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'proto/ospf/ospf.h') diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index bc37fc48..c07d3347 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_ */ -- cgit v1.2.3