From 499cb346f6fb29f9157e12942484c8b4362597c3 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sat, 1 Apr 2000 02:45:49 +0000 Subject: LSA checksum works. But it's very uneficient on little endian systems. --- proto/ospf/lsalib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'proto/ospf/lsalib.h') diff --git a/proto/ospf/lsalib.h b/proto/ospf/lsalib.h index e759aa0..0eb6dce 100644 --- a/proto/ospf/lsalib.h +++ b/proto/ospf/lsalib.h @@ -14,5 +14,6 @@ void htonlsah(struct ospf_lsa_header *h, struct ospf_lsa_header *n); void ntohlsah(struct ospf_lsa_header *n, struct ospf_lsa_header *h); 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); #endif /* _BIRD_OSPF_LSALIB_H_ */ -- cgit v1.2.3