Lines Matching refs:infop
267 dlpi_info(dlpi_handle_t dh, dlpi_info_t *infop, uint_t version)
280 if (infop == NULL || version > DLPI_INFO_MAXVERSION)
283 (void) memset(infop, 0, (version == DLPI_INFO_VERS1) ?
287 _DLPI_INFO_SET(infop, version, di_qos_range.dl_qos_type,
289 _DLPI_INFO_SET(infop, version,
291 _DLPI_INFO_SET(infop, version,
293 _DLPI_INFO_SET(infop, version, di_qos_range.dl_priority.dl_min,
295 _DLPI_INFO_SET(infop, version, di_qos_range.dl_priority.dl_max,
297 _DLPI_INFO_SET(infop, version, di_qos_range.dl_protection.dl_min,
299 _DLPI_INFO_SET(infop, version, di_qos_range.dl_protection.dl_max,
301 _DLPI_INFO_SET(infop, version, di_qos_range.dl_residual_error,
305 _DLPI_INFO_SET(infop, version, di_qos_sel.dl_qos_type,
307 _DLPI_INFO_SET(infop, version, di_qos_sel.dl_trans_delay, DL_UNKNOWN);
308 _DLPI_INFO_SET(infop, version, di_qos_sel.dl_priority, DL_UNKNOWN);
309 _DLPI_INFO_SET(infop, version, di_qos_sel.dl_protection, DL_UNKNOWN);
310 _DLPI_INFO_SET(infop, version, di_qos_sel.dl_residual_error,
341 _DLPI_INFO_COPY(infop, version, di_qos_sel, datap, datalen);
342 if (_DLPI_INFO_GET(infop, version, di_qos_sel.dl_qos_type) !=
356 _DLPI_INFO_COPY(infop, version, di_qos_range, datap, datalen);
357 if (_DLPI_INFO_GET(infop, version, di_qos_range.dl_qos_type) !=
365 _DLPI_INFO_SET(infop, version, di_physaddrlen,
368 if (_DLPI_INFO_GET(infop, version, di_physaddrlen) >
383 sapp += _DLPI_INFO_GET(infop, version, di_physaddrlen);
385 _DLPI_INFO_COPY(infop, version, di_physaddr, addrp,
386 _DLPI_INFO_GET(infop, version, di_physaddrlen));
387 _DLPI_INFO_SET(infop, version, di_sap,
398 if (datalen != _DLPI_INFO_GET(infop, version, di_physaddrlen))
401 _DLPI_INFO_SET(infop, version, di_bcastaddrlen, datalen);
402 _DLPI_INFO_COPY(infop, version, di_bcastaddr, datap, datalen);
405 _DLPI_INFO_SET(infop, version, di_max_sdu, infoackp->dl_max_sdu);
406 _DLPI_INFO_SET(infop, version, di_min_sdu, infoackp->dl_min_sdu);
407 _DLPI_INFO_SET(infop, version, di_state, infoackp->dl_current_state);
408 _DLPI_INFO_SET(infop, version, di_mactype, infoackp->dl_mac_type);
411 _DLPI_INFO_COPY(infop, version, di_linkname, dip->dli_linkname,
414 _DLPI_INFO_SET(infop, version, di_timeout, dip->dli_timeout);