Lines Matching refs:cfm_common_header
287 const struct cfm_common_header_t *cfm_common_header; in cfm_print() local
301 cfm_common_header = (const struct cfm_common_header_t *)pptr; in cfm_print()
302 ND_TCHECK(*cfm_common_header); in cfm_print()
307 if (CFM_EXTRACT_VERSION(cfm_common_header->mdlevel_version) != CFM_VERSION) { in cfm_print()
309 CFM_EXTRACT_VERSION(cfm_common_header->mdlevel_version), length)); in cfm_print()
314 CFM_EXTRACT_VERSION(cfm_common_header->mdlevel_version), in cfm_print()
315 tok2str(cfm_opcode_values, "unknown (%u)", cfm_common_header->opcode), in cfm_print()
316 CFM_EXTRACT_MD_LEVEL(cfm_common_header->mdlevel_version), in cfm_print()
326 ND_PRINT((ndo, "\n\tFirst TLV offset %u", cfm_common_header->first_tlv_offset)); in cfm_print()
331 switch (cfm_common_header->opcode) { in cfm_print()
335 ccm_interval = CFM_EXTRACT_CCM_INTERVAL(cfm_common_header->flags); in cfm_print()
338 cfm_common_header->flags & CFM_CCM_RDI_FLAG ? in cfm_print()
421 bittok2str(cfm_ltm_flag_values, "none", cfm_common_header->flags))); in cfm_print()
437 bittok2str(cfm_ltr_flag_values, "none", cfm_common_header->flags))); in cfm_print()
461 if (tlen > cfm_common_header->first_tlv_offset) { in cfm_print()
463 tlen - cfm_common_header->first_tlv_offset); in cfm_print()
471 if (tlen <= cfm_common_header->first_tlv_offset) { in cfm_print()
475 tptr += cfm_common_header->first_tlv_offset; in cfm_print()
476 tlen -= cfm_common_header->first_tlv_offset; in cfm_print()