Lines Matching refs:tlen
1111 u_int tlen, tlv_type, tlv_len; in lldp_private_dcbx_print() local
1128 tlen = len - 4; in lldp_private_dcbx_print()
1130 while (tlen >= sizeof(tlv)) { in lldp_private_dcbx_print()
1140 tlen -= sizeof(tlv); in lldp_private_dcbx_print()
1149 if (tlen < tlv_len) { in lldp_private_dcbx_print()
1259 tlen -= tlv_len; in lldp_private_dcbx_print()
1318 u_int tlen; in lldp_mgmt_addr_tlv_print() local
1321 tlen = len; in lldp_mgmt_addr_tlv_print()
1324 if (tlen < 1) { in lldp_mgmt_addr_tlv_print()
1328 tlen--; in lldp_mgmt_addr_tlv_print()
1330 if (tlen < mgmt_addr_len) { in lldp_mgmt_addr_tlv_print()
1341 tlen -= mgmt_addr_len; in lldp_mgmt_addr_tlv_print()
1343 if (tlen < LLDP_INTF_NUM_LEN) { in lldp_mgmt_addr_tlv_print()
1354 tlen -= LLDP_INTF_NUM_LEN; in lldp_mgmt_addr_tlv_print()
1359 if (tlen) { in lldp_mgmt_addr_tlv_print()
1362 if (tlen < oid_len) { in lldp_mgmt_addr_tlv_print()
1380 u_int oui, tlen, hexdump, tlv_type, tlv_len; in lldp_print() local
1385 tlen = len; in lldp_print()
1389 while (tlen >= sizeof(tlv)) { in lldp_print()
1399 tlen -= sizeof(tlv); in lldp_print()
1414 if (tlen < tlv_len) { in lldp_print()
1600 tlen -= tlv_len; in lldp_print()