Lines Matching defs:checksum
244 { 0x2, "Incorrect checksum"},
568 static void osi_print_cksum(const u_int8_t *pptr, u_int16_t checksum,
643 u_int8_t checksum[2];
663 u_int8_t checksum[2];
828 printf("\n\t%s PDU, hlen: %u, v: %u, lifetime: %u.%us, Segment PDU length: %u, checksum: 0x%04x",
1092 printf(", checksum: 0x%04x", EXTRACT_16BITS(esis_header->cksum));
2101 need it for parsing the checksum TLV and authentication
2328 EXTRACT_16BITS(header_lsp->checksum));
2332 EXTRACT_16BITS(header_lsp->checksum), 12, length-12);
2335 * Clear checksum and lifetime prior to signature verification.
2337 header_lsp->checksum[0] = 0;
2338 header_lsp->checksum[1] = 0;
2878 if (!TTEST2(tlv_lsp->checksum, 2))
2880 printf(", chksum: 0x%04x",EXTRACT_16BITS(tlv_lsp->checksum));
2891 printf("\n\t checksum: 0x%04x ", EXTRACT_16BITS(tptr));
2892 /* do not attempt to verify the checksum if it is zero
2894 * to avoid conflicts the checksum TLV is zeroed.
3090 osi_print_cksum (const u_int8_t *pptr, u_int16_t checksum,
3095 /* do not attempt to verify the checksum if it is zero */
3096 if (!checksum) {
3100 if (checksum == calculated_checksum) {