Lines Matching refs:dlinfo
203 dlpi_info_t dlinfo;
219 if ((retval = dlpi_info(dh, &dlinfo, 0)) != DLPI_SUCCESS) {
224 if (dlinfo.di_bcastaddrlen == 0) {
231 assert(dlinfo.di_bcastaddrlen == dlinfo.di_physaddrlen);
233 (void) memcpy(mybaddr, dlinfo.di_bcastaddr, dlinfo.di_bcastaddrlen);
235 *alen = dlinfo.di_physaddrlen;
237 (void) memcpy(myaddr, dlinfo.di_physaddr, dlinfo.di_physaddrlen);
240 bcastaddr = _link_ntoa(mybaddr, NULL, dlinfo.di_bcastaddrlen,
243 physaddr = _link_ntoa(myaddr, NULL, dlinfo.di_physaddrlen,
255 dlinfo.di_physaddrlen);
334 dlpi_info_t dlinfo;
348 retv = dlpi_info(dh, &dlinfo, 0);
359 switch (dlinfo.di_mactype) {