1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

LSA checksum works. But it's very uneficient on little endian systems.

This commit is contained in:
Ondrej Filip
2000-04-01 02:45:49 +00:00
parent ac4b4683ae
commit 499cb346f6
3 changed files with 69 additions and 4 deletions

View File

@@ -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_ */