• Home
  • Raw
  • Download

Lines Matching refs:cfm_common_header

274     const struct cfm_common_header_t *cfm_common_header;  in cfm_print()  local
294 cfm_common_header = (const struct cfm_common_header_t *)pptr; in cfm_print()
295 if (length < sizeof(*cfm_common_header)) in cfm_print()
297 ND_TCHECK(*cfm_common_header); in cfm_print()
302 if (CFM_EXTRACT_VERSION(cfm_common_header->mdlevel_version) != CFM_VERSION) { in cfm_print()
304 CFM_EXTRACT_VERSION(cfm_common_header->mdlevel_version), length)); in cfm_print()
309 CFM_EXTRACT_VERSION(cfm_common_header->mdlevel_version), in cfm_print()
310 tok2str(cfm_opcode_values, "unknown (%u)", cfm_common_header->opcode), in cfm_print()
311 CFM_EXTRACT_MD_LEVEL(cfm_common_header->mdlevel_version), in cfm_print()
321 ND_PRINT((ndo, "\n\tFirst TLV offset %u", cfm_common_header->first_tlv_offset)); in cfm_print()
329 if (cfm_common_header->first_tlv_offset > tlen) { in cfm_print()
334 switch (cfm_common_header->opcode) { in cfm_print()
337 if (cfm_common_header->first_tlv_offset < sizeof(*msg_ptr.cfm_ccm)) { in cfm_print()
346 ccm_interval = CFM_EXTRACT_CCM_INTERVAL(cfm_common_header->flags); in cfm_print()
349 cfm_common_header->flags & CFM_CCM_RDI_FLAG ? in cfm_print()
467 if (cfm_common_header->first_tlv_offset < sizeof(*msg_ptr.cfm_ltm)) { in cfm_print()
477 bittok2str(cfm_ltm_flag_values, "none", cfm_common_header->flags))); in cfm_print()
490 if (cfm_common_header->first_tlv_offset < sizeof(*msg_ptr.cfm_ltr)) { in cfm_print()
500 bittok2str(cfm_ltr_flag_values, "none", cfm_common_header->flags))); in cfm_print()
521 tlen - cfm_common_header->first_tlv_offset); in cfm_print()
525 tptr += cfm_common_header->first_tlv_offset; in cfm_print()
526 tlen -= cfm_common_header->first_tlv_offset; in cfm_print()