diff options
author | Ondrej Filip <feela@network.cz> | 2000-04-02 20:41:33 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-04-02 20:41:33 +0000 |
commit | 394acced118df7360e480920c65ca260c5b8c44f (patch) | |
tree | 8f90c12250f8856d7d38694260bcb4afdf1eaacb /proto/ospf/lsalib.h | |
parent | db9fb727699a6244afcff28dcc2320a3e66ee269 (diff) |
Work on lsupdates continues. Some checksum cleanup.
Diffstat (limited to 'proto/ospf/lsalib.h')
-rw-r--r-- | proto/ospf/lsalib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/lsalib.h b/proto/ospf/lsalib.h index b6547c76..5332d2ef 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 |