Lines Matching refs:tlen
298 u_int hexdump, tlen, cfm_tlv_len, cfm_tlv_type, ccm_interval;
337 tlen = length - sizeof(struct cfm_common_header_t);
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) {
484 tlen -= cfm_common_header->first_tlv_offset;
486 while (tlen > 0) {
508 ((cfm_tlv_len + sizeof(struct cfm_tlv_header_t) > tlen) ||
510 print_unknown_data(tptr,"\n\t ",tlen);
515 tlen -= sizeof(struct cfm_tlv_header_t);
558 if (chassis_id_length > tlen) {
564 tlen--;
599 tlen -= chassis_id_length;
605 if (mgmt_addr_length > tlen) {
611 tlen--;
618 tlen -= mgmt_addr_length;
640 tlen-=cfm_tlv_len;