Lines Matching refs:cfm_common_header
295 const struct cfm_common_header_t *cfm_common_header;
309 cfm_common_header = (const struct cfm_common_header_t *)pptr;
310 TCHECK(*cfm_common_header);
315 if (CFM_EXTRACT_VERSION(cfm_common_header->mdlevel_version) != CFM_VERSION) {
317 CFM_EXTRACT_VERSION(cfm_common_header->mdlevel_version), length);
322 CFM_EXTRACT_VERSION(cfm_common_header->mdlevel_version),
323 tok2str(cfm_opcode_values, "unknown (%u)", cfm_common_header->opcode),
324 CFM_EXTRACT_MD_LEVEL(cfm_common_header->mdlevel_version),
334 printf("\n\tFirst TLV offset %u", cfm_common_header->first_tlv_offset);
339 switch (cfm_common_header->opcode) {
343 ccm_interval = CFM_EXTRACT_CCM_INTERVAL(cfm_common_header->flags);
346 cfm_common_header->flags & CFM_CCM_RDI_FLAG ?
429 bittok2str(cfm_ltm_flag_values, "none", cfm_common_header->flags));
445 bittok2str(cfm_ltr_flag_values, "none", cfm_common_header->flags));
469 if (tlen > cfm_common_header->first_tlv_offset) {
471 tlen - cfm_common_header->first_tlv_offset);
479 if (tlen <= cfm_common_header->first_tlv_offset) {
483 tptr += cfm_common_header->first_tlv_offset;
484 tlen -= cfm_common_header->first_tlv_offset;