Lines Matching defs:tlv
99 { SLOW_OAM_INFO_TYPE_END_OF_TLV, "End of TLV marker" },
142 { SLOW_OAM_LINK_EVENT_END_OF_TLV, "End of TLV marker" },
362 /* is the packet big enough to include the tlv header ? */
365 /* did we capture enough for fully decoding the tlv header ? */
370 ND_PRINT("\n\t%s TLV (0x%02x), length %u",
379 * This TLV has a length of zero, and means there are no
392 /* is the packet big enough to include the tlv ? */
395 /* did we capture enough for fully decoding the tlv ? */
513 } tlv;
545 * As IEEE Std 802.3-2015 says for the End of TLV Marker,
546 * "(the length and value of the Type 0x00 TLV can be ignored)".
566 tlv.slow_oam_info = (const struct slow_oam_info_t *)tptr;
568 if (GET_U_1(tlv.slow_oam_info->info_length) !=
577 GET_U_1(tlv.slow_oam_info->oam_version),
578 GET_BE_U_2(tlv.slow_oam_info->revision));
580 state = GET_U_1(tlv.slow_oam_info->state);
588 GET_U_1(tlv.slow_oam_info->oam_config)),
589 GET_BE_U_2(tlv.slow_oam_info->oam_pdu_config) &
593 GET_BE_U_3(tlv.slow_oam_info->oui)),
594 GET_BE_U_3(tlv.slow_oam_info->oui),
595 GET_BE_U_4(tlv.slow_oam_info->vendor_private));
642 * As IEEE Std 802.3-2015 says for the End of TLV Marker,
643 * "(the length and value of the Type 0x00 TLV can be ignored)".
665 tlv.slow_oam_link_event = (const struct slow_oam_link_event_t *)tptr;
667 if (GET_U_1(tlv.slow_oam_link_event->event_length) !=
680 GET_BE_U_2(tlv.slow_oam_link_event->time_stamp)*100,
681 GET_BE_U_8(tlv.slow_oam_link_event->window),
682 GET_BE_U_8(tlv.slow_oam_link_event->threshold),
683 GET_BE_U_8(tlv.slow_oam_link_event->errors),
684 GET_BE_U_8(tlv.slow_oam_link_event->errors_running_total),
685 GET_BE_U_4(tlv.slow_oam_link_event->event_running_total));
710 tlv.slow_oam_loopbackctrl = (const struct slow_oam_loopbackctrl_t *)tptr;
711 if (tlen < sizeof(*tlv.slow_oam_loopbackctrl))
713 command = GET_U_1(tlv.slow_oam_loopbackctrl->command);