Lines Matching refs:tlv
107 { SLOW_OAM_INFO_TYPE_END_OF_TLV, "End of TLV marker" },
150 { SLOW_OAM_LINK_EVENT_END_OF_TLV, "End of TLV marker" },
354 /* did we capture enough for fully decoding the tlv header ? */
359 printf("\n\t%s TLV (0x%02x), length %u",
378 /* did we capture enough for fully decoding the tlv ? */
481 } tlv;
513 tlv.slow_oam_info = (const struct slow_oam_info_t *)tptr;
515 if (tlv.slow_oam_info->info_length !=
523 tlv.slow_oam_info->oam_version,
524 EXTRACT_16BITS(&tlv.slow_oam_info->revision));
528 tlv.slow_oam_info->state & OAM_INFO_TYPE_PARSER_MASK),
530 tlv.slow_oam_info->state & OAM_INFO_TYPE_MUX_MASK));
533 tlv.slow_oam_info->oam_config),
534 EXTRACT_16BITS(&tlv.slow_oam_info->oam_pdu_config) &
538 EXTRACT_24BITS(&tlv.slow_oam_info->oui)),
539 EXTRACT_24BITS(&tlv.slow_oam_info->oui),
540 EXTRACT_32BITS(&tlv.slow_oam_info->vendor_private));
589 tlv.slow_oam_link_event = (const struct slow_oam_link_event_t *)tptr;
591 if (tlv.slow_oam_link_event->event_length !=
603 EXTRACT_16BITS(&tlv.slow_oam_link_event->time_stamp)*100,
604 EXTRACT_64BITS(&tlv.slow_oam_link_event->window),
605 EXTRACT_64BITS(&tlv.slow_oam_link_event->threshold),
606 EXTRACT_64BITS(&tlv.slow_oam_link_event->errors),
607 EXTRACT_64BITS(&tlv.slow_oam_link_event->errors_running_total),
608 EXTRACT_32BITS(&tlv.slow_oam_link_event->event_running_total));
637 tlv.slow_oam_loopbackctrl = (const struct slow_oam_loopbackctrl_t *)tptr;
641 tlv.slow_oam_loopbackctrl->command),
642 tlv.slow_oam_loopbackctrl->command);