Lines Matching refs:tlen
282 u_int hexdump, tlen, cfm_tlv_len, cfm_tlv_type, ccm_interval;
328 tlen = length - sizeof(struct cfm_common_header_t);
333 if (first_tlv_offset > tlen) {
334 ND_PRINT(" (too large, must be <= %u)", tlen);
346 if (tlen < sizeof(*msg_ptr.cfm_ccm))
475 if (tlen < sizeof(*msg_ptr.cfm_ltm))
498 if (tlen < sizeof(*msg_ptr.cfm_ltr))
524 tlen - first_tlv_offset);
529 tlen -= first_tlv_offset;
531 while (tlen > 0) {
547 if (tlen < sizeof(struct cfm_tlv_header_t))
555 tlen -= sizeof(struct cfm_tlv_header_t);
559 if (tlen < cfm_tlv_len)
613 tlen--;
670 tlen -= 1 + chassis_id_length;
687 tlen--;
702 tlen -= mgmt_addr_length;
717 tlen--;
732 tlen -= mgmt_addr_length;
756 tlen-=cfm_tlv_len;