From 394acced118df7360e480920c65ca260c5b8c44f Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sun, 2 Apr 2000 20:41:33 +0000 Subject: Work on lsupdates continues. Some checksum cleanup. --- proto/ospf/lsalib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'proto/ospf/lsalib.h') diff --git a/proto/ospf/lsalib.h b/proto/ospf/lsalib.h index b6547c7..5332d2e 100644 --- a/proto/ospf/lsalib.h +++ b/proto/ospf/lsalib.h @@ -16,6 +16,8 @@ void htonlsab(void *h, void *n, u8 type, u16 len); 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 -- cgit v1.2.3