Lines Matching refs:lei_attr
184 boolean_t autoneg = eattr->lei_attr[ptype].le_autoneg; in dladm_ether_autoneg2str()
199 boolean_t pause = eattr->lei_attr[ptype].le_pause; in dladm_ether_pause2str()
200 boolean_t asmpause = eattr->lei_attr[ptype].le_asmpause; in dladm_ether_pause2str()
232 spdx = eattr->lei_attr[ptype].le_spdx; in dladm_ether_spdx2str()
233 nspdx = eattr->lei_attr[ptype].le_num_spdx; in dladm_ether_spdx2str()
307 eattr->lei_attr[CURRENT].le_num_spdx = 1; in dladm_ether_info()
308 eattr->lei_attr[CURRENT].le_spdx = malloc(sizeof (dladm_ether_spdx_t)); in dladm_ether_info()
309 if (eattr->lei_attr[CURRENT].le_spdx == NULL) { in dladm_ether_info()
322 eattr->lei_attr[CURRENT].le_spdx->lesd_speed = (int)(sp64/1000000ull); in dladm_ether_info()
323 eattr->lei_attr[CURRENT].le_spdx->lesd_duplex = link_duplex; in dladm_ether_info()
347 eattr->lei_attr[i].le_autoneg = (autoneg != 0); in dladm_ether_info()
348 eattr->lei_attr[i].le_pause = (pause != 0); in dladm_ether_info()
349 eattr->lei_attr[i].le_asmpause = (asmpause != 0); in dladm_ether_info()
357 eattr->lei_attr[i].le_fault = (pause != 0); in dladm_ether_info()
360 status = i_dladm_get_spdx(handle, linkid, &eattr->lei_attr[i], in dladm_ether_info()
365 eattr->lei_attr[CURRENT].le_fault = in dladm_ether_info()
366 eattr->lei_attr[ADV].le_fault || eattr->lei_attr[PEERADV].le_fault; in dladm_ether_info()
379 free(eattr->lei_attr[i].le_spdx); in dladm_ether_info_done()