Lines Matching refs:tlen
1156 u_int tlen, tlv_type, tlv_len; in lldp_private_dcbx_print() local
1173 tlen = len - 4; in lldp_private_dcbx_print()
1175 while (tlen >= sizeof(tlv)) { in lldp_private_dcbx_print()
1185 tlen -= sizeof(tlv); in lldp_private_dcbx_print()
1194 if (tlen < tlv_len) { in lldp_private_dcbx_print()
1304 tlen -= tlv_len; in lldp_private_dcbx_print()
1363 u_int tlen; in lldp_mgmt_addr_tlv_print() local
1366 tlen = len; in lldp_mgmt_addr_tlv_print()
1369 if (tlen < 1) { in lldp_mgmt_addr_tlv_print()
1373 tlen--; in lldp_mgmt_addr_tlv_print()
1375 if (tlen < mgmt_addr_len) { in lldp_mgmt_addr_tlv_print()
1386 tlen -= mgmt_addr_len; in lldp_mgmt_addr_tlv_print()
1388 if (tlen < LLDP_INTF_NUM_LEN) { in lldp_mgmt_addr_tlv_print()
1399 tlen -= LLDP_INTF_NUM_LEN; in lldp_mgmt_addr_tlv_print()
1404 if (tlen) { in lldp_mgmt_addr_tlv_print()
1407 if (tlen < 1U + oid_len) { in lldp_mgmt_addr_tlv_print()
1425 u_int oui, tlen, hexdump, tlv_type, tlv_len; in lldp_print() local
1430 tlen = len; in lldp_print()
1434 while (tlen >= sizeof(tlv)) { in lldp_print()
1444 tlen -= sizeof(tlv); in lldp_print()
1459 if (tlen < tlv_len) { in lldp_print()
1648 tlen -= tlv_len; in lldp_print()