Lines Matching refs:header_lsp
2158 struct isis_lsp_header *header_lsp = (struct isis_lsp_header *) header; in isis_clear_checksum_lifetime() local
2160 header_lsp->checksum[0] = 0; in isis_clear_checksum_lifetime()
2161 header_lsp->checksum[1] = 0; in isis_clear_checksum_lifetime()
2162 header_lsp->remaining_lifetime[0] = 0; in isis_clear_checksum_lifetime()
2163 header_lsp->remaining_lifetime[1] = 0; in isis_clear_checksum_lifetime()
2179 const struct isis_lsp_header *header_lsp; in isis_print() local
2206 header_lsp = (const struct isis_lsp_header *)pptr; in isis_print()
2406 ND_TCHECK(*header_lsp); in isis_print()
2411 isis_print_id(header_lsp->lsp_id, LSP_ID_LEN), in isis_print()
2412 EXTRACT_32BITS(header_lsp->sequence_number), in isis_print()
2413 EXTRACT_16BITS(header_lsp->remaining_lifetime))); in isis_print()
2417 pdu_len=EXTRACT_16BITS(header_lsp->pdu_len); in isis_print()
2424 isis_print_id(header_lsp->lsp_id, LSP_ID_LEN), in isis_print()
2425 EXTRACT_32BITS(header_lsp->sequence_number), in isis_print()
2426 EXTRACT_16BITS(header_lsp->remaining_lifetime), in isis_print()
2427 EXTRACT_16BITS(header_lsp->checksum))); in isis_print()
2429 osi_print_cksum(ndo, (const uint8_t *)header_lsp->lsp_id, in isis_print()
2430 EXTRACT_16BITS(header_lsp->checksum), in isis_print()
2435 ISIS_MASK_LSP_OL_BIT(header_lsp->typeblock) ? "Overload bit set, " : "")); in isis_print()
2437 if (ISIS_MASK_LSP_ATT_BITS(header_lsp->typeblock)) { in isis_print()
2438 … ND_PRINT((ndo, "%s", ISIS_MASK_LSP_ATT_DEFAULT_BIT(header_lsp->typeblock) ? "default " : "")); in isis_print()
2439 … ND_PRINT((ndo, "%s", ISIS_MASK_LSP_ATT_DELAY_BIT(header_lsp->typeblock) ? "delay " : "")); in isis_print()
2440 … ND_PRINT((ndo, "%s", ISIS_MASK_LSP_ATT_EXPENSE_BIT(header_lsp->typeblock) ? "expense " : "")); in isis_print()
2441 … ND_PRINT((ndo, "%s", ISIS_MASK_LSP_ATT_ERROR_BIT(header_lsp->typeblock) ? "error " : "")); in isis_print()
2444 … ND_PRINT((ndo, "%s", ISIS_MASK_LSP_PARTITION_BIT(header_lsp->typeblock) ? "P bit set, " : "")); in isis_print()
2446 ISIS_MASK_LSP_ISTYPE_BITS(header_lsp->typeblock)))); in isis_print()
2773 header_lsp); in isis_print()