From d8852b362c015db38abf180888e77900f35089de Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 4 Apr 2000 15:55:55 +0000 Subject: LSupdate processing improved. Now there is some bug in hashing. :-( --- proto/ospf/lsalib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto/ospf/lsalib.h') diff --git a/proto/ospf/lsalib.h b/proto/ospf/lsalib.h index 5332d2e..bba8c26 100644 --- a/proto/ospf/lsalib.h +++ b/proto/ospf/lsalib.h @@ -17,10 +17,11 @@ void ntohlsab(void *n, void *h, u8 type, u16 len); void lsasum_calculate(struct ospf_lsa_header *header, void *body, struct proto_ospf *p); u16 lsasum_check(struct ospf_lsa_header *h,void *body,struct proto_ospf *po); - #define CMP_NEWER 1 #define CMP_SAME 0 #define CMP_OLDER -1 int lsa_comp(struct ospf_lsa_header *l1, struct ospf_lsa_header *l2); +struct top_hash_entry *lsa_install_new(struct ospf_lsa_header *lsa, void *body, + struct ospf_area *oa); #endif /* _BIRD_OSPF_LSALIB_H_ */ -- cgit v1.2.3