diff options
author | Ondrej Filip <feela@network.cz> | 2000-04-01 02:45:49 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-04-01 02:45:49 +0000 |
commit | 499cb346f6fb29f9157e12942484c8b4362597c3 (patch) | |
tree | 90032d28f0f772e47b2e69703fe27ae876647a46 /proto/ospf/lsalib.h | |
parent | ac4b4683aee8e5aa566b0b5f99bd940bc10d9b71 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/ospf/lsalib.h b/proto/ospf/lsalib.h index e759aa07..0eb6dcee 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_ */ |