Lines Matching refs:header_lsp
2085 struct isis_lsp_header *header_lsp;
2110 header_lsp = (struct isis_lsp_header *)pptr;
2200 isis_print_id(header_lsp->lsp_id, LSP_ID_LEN),
2201 EXTRACT_32BITS(header_lsp->sequence_number),
2202 EXTRACT_16BITS(header_lsp->remaining_lifetime));
2319 pdu_len=EXTRACT_16BITS(header_lsp->pdu_len);
2325 TCHECK(*header_lsp);
2327 isis_print_id(header_lsp->lsp_id, LSP_ID_LEN),
2328 EXTRACT_32BITS(header_lsp->sequence_number),
2329 EXTRACT_16BITS(header_lsp->remaining_lifetime),
2330 EXTRACT_16BITS(header_lsp->checksum));
2333 osi_print_cksum((u_int8_t *)header_lsp->lsp_id,
2334 EXTRACT_16BITS(header_lsp->checksum), 12, length-12);
2339 header_lsp->checksum[0] = 0;
2340 header_lsp->checksum[1] = 0;
2341 header_lsp->remaining_lifetime[0] = 0;
2342 header_lsp->remaining_lifetime[1] = 0;
2347 ISIS_MASK_LSP_OL_BIT(header_lsp->typeblock) ? "Overload bit set, " : "");
2349 if (ISIS_MASK_LSP_ATT_BITS(header_lsp->typeblock)) {
2350 printf("%s", ISIS_MASK_LSP_ATT_DEFAULT_BIT(header_lsp->typeblock) ? "default " : "");
2351 printf("%s", ISIS_MASK_LSP_ATT_DELAY_BIT(header_lsp->typeblock) ? "delay " : "");
2352 printf("%s", ISIS_MASK_LSP_ATT_EXPENSE_BIT(header_lsp->typeblock) ? "expense " : "");
2353 printf("%s", ISIS_MASK_LSP_ATT_ERROR_BIT(header_lsp->typeblock) ? "error " : "");
2356 printf("%s", ISIS_MASK_LSP_PARTITION_BIT(header_lsp->typeblock) ? "P bit set, " : "");
2357 printf("%s ]", tok2str(isis_lsp_istype_values,"Unknown(0x%x)",ISIS_MASK_LSP_ISTYPE_BITS(header_lsp->typeblock)));