Lines Matching refs:tlen
350 register const u_char *tptr, register u_int tlen, in slow_marker_lacp_print() argument
364 while(tlen>0) { in slow_marker_lacp_print()
366 if (tlen < sizeof(struct tlv_header_t)) in slow_marker_lacp_print()
396 if (tlen < tlv_len) in slow_marker_lacp_print()
477 tlen-=tlv_len; in slow_marker_lacp_print()
491 register const u_char *tptr, register u_int tlen) in slow_oam_print() argument
519 if (tlen < sizeof(*ptr.slow_oam_common_header)) in slow_oam_print()
523 tlen -= sizeof(struct slow_oam_common_header_t); in slow_oam_print()
533 while (tlen > 0) { in slow_oam_print()
535 if (tlen < sizeof(*ptr.slow_oam_tlv_header)) in slow_oam_print()
559 if (tlen < ptr.slow_oam_tlv_header->length) in slow_oam_print()
614 tlen -= ptr.slow_oam_tlv_header->length; in slow_oam_print()
621 if (tlen < 2) in slow_oam_print()
625 tlen -= 2; in slow_oam_print()
629 while (tlen > 0) { in slow_oam_print()
631 if (tlen < sizeof(*ptr.slow_oam_tlv_header)) in slow_oam_print()
655 if (tlen < ptr.slow_oam_tlv_header->length) in slow_oam_print()
704 tlen -= ptr.slow_oam_tlv_header->length; in slow_oam_print()
711 if (tlen < sizeof(*tlv.slow_oam_loopbackctrl)) in slow_oam_print()
720 tlen --; in slow_oam_print()
732 print_unknown_data(ndo, tptr, "\n\t ", tlen); in slow_oam_print()