Lines Matching refs:status
115 dladm_status_t status;
120 if ((status = dladm_get_single_mac_stat(handle, linkid,
124 if (status == DLADM_STATUS_NOTFOUND) {
133 return (status);
275 dladm_status_t status;
280 status = dladm_datalink_id2info(handle, linkid, NULL, NULL, NULL,
282 if (status != DLADM_STATUS_OK)
289 status = DLADM_STATUS_NOMEM;
293 if ((status = dladm_get_single_mac_stat(handle, linkid, "ifspeed",
297 if ((status = dladm_get_single_mac_stat(handle, linkid, "link_duplex",
304 status = dladm_get_state(handle, linkid, &eattr->lei_state);
305 if (status != DLADM_STATUS_OK)
311 status = dladm_get_single_mac_stat(handle, linkid,
313 if (status != DLADM_STATUS_OK)
316 status = dladm_get_single_mac_stat(handle, linkid,
318 if (status != DLADM_STATUS_OK)
321 status = dladm_get_single_mac_stat(handle, linkid,
323 if (status != DLADM_STATUS_OK)
332 status = dladm_get_single_mac_stat(handle, linkid,
334 if (status != DLADM_STATUS_OK)
339 status = i_dladm_get_spdx(handle, linkid, &eattr->lei_attr[i],
341 if (status != DLADM_STATUS_OK)
347 if (status != DLADM_STATUS_OK)
349 return (status);