Lines Matching refs:tlen
342 const u_char *tptr, u_int tlen, in slow_marker_lacp_print() argument
356 while(tlen>0) { in slow_marker_lacp_print()
358 if (tlen < sizeof(struct tlv_header_t)) in slow_marker_lacp_print()
388 if (tlen < tlv_len) in slow_marker_lacp_print()
469 tlen-=tlv_len; in slow_marker_lacp_print()
479 const u_char *tptr, u_int tlen) in slow_oam_print() argument
511 if (tlen < sizeof(*ptr.slow_oam_common_header)) in slow_oam_print()
515 tlen -= sizeof(struct slow_oam_common_header_t); in slow_oam_print()
526 while (tlen > 0) { in slow_oam_print()
528 if (tlen < sizeof(*ptr.slow_oam_tlv_header)) in slow_oam_print()
553 if (tlen < length) in slow_oam_print()
609 tlen -= length; in slow_oam_print()
616 if (tlen < 2) in slow_oam_print()
619 tlen -= 2; in slow_oam_print()
623 while (tlen > 0) { in slow_oam_print()
625 if (tlen < sizeof(*ptr.slow_oam_tlv_header)) in slow_oam_print()
650 if (tlen < length) in slow_oam_print()
699 tlen -= length; in slow_oam_print()
706 if (tlen < sizeof(*tlv.slow_oam_loopbackctrl)) in slow_oam_print()
715 tlen --; in slow_oam_print()
727 print_unknown_data(ndo, tptr, "\n\t ", tlen); in slow_oam_print()