summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsalib.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-01 04:45:49 +0200
committerOndrej Filip <feela@network.cz>2000-04-01 04:45:49 +0200
commit499cb346f6fb29f9157e12942484c8b4362597c3 (patch)
tree90032d28f0f772e47b2e69703fe27ae876647a46 /proto/ospf/lsalib.h
parentac4b4683aee8e5aa566b0b5f99bd940bc10d9b71 (diff)
downloadbird-499cb346f6fb29f9157e12942484c8b4362597c3.tar
bird-499cb346f6fb29f9157e12942484c8b4362597c3.zip
LSA checksum works. But it's very uneficient on little endian systems.
Diffstat (limited to 'proto/ospf/lsalib.h')
-rw-r--r--proto/ospf/lsalib.h1
1 files changed, 1 insertions, 0 deletions
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_ */