Searched defs:dlinfo (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c133 dlpi_info_t dlinfo; local
145 dlpi_info(dh, &dlinfo, 0) == DLPI_SUCCESS &&
146 (len = dlinfo.di_physaddrlen) > 0 &&
147 (arptype = dlpi_arptype(dlinfo.di_mactype) != 0)) {
156 (void) memcpy((dllt + 1), dlinfo.di_physaddr, len);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Drevarp.c203 dlpi_info_t dlinfo; local
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
334 dlpi_info_t dlinfo; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c122 dlpi_info_t dlinfo; local
153 if ((retval = dlpi_info(*dhp, &dlinfo, 0)) != DLPI_SUCCESS)
157 if (interface->mac_type == dlinfo.di_mactype)
163 "not supported\n", dlinfo.di_mactype);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c200 dlpi_info_t dlinfo; local
216 if ((rc = dlpi_info(dh, &dlinfo, 0)) != DLPI_SUCCESS) {
223 pif->pif_hwtype = dlpi_arptype(dlinfo.di_mactype);
224 pif->pif_hwlen = dlinfo.di_physaddrlen;
237 (void) memcpy(pif->pif_hwaddr, dlinfo.di_physaddr,
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c476 dlpi_info_t dlinfo; local
511 DLPI_SUCCESS || dlpi_info(dh, &dlinfo, 0) !=
516 maclen = dlinfo.di_physaddrlen;
517 (void) memcpy(outbuf, dlinfo.di_physaddr, maclen);
520 hwtype = dlpi_arptype(dlinfo.di_mactype);
/illumos-gate/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c820 dlpi_info_t dlinfo; local
825 retval = dlpi_info((dlpi_handle_t)dip, &dlinfo, 0);
1197 dlpi_info_t dlinfo; local
1199 retval = dlpi_info((dlpi_handle_t)dip, &dlinfo, 0);
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddlfcns.c1770 * If this dependency has already been established, then this dlinfo()
2153 * a previous dlinfo(), check the original
2177 #pragma weak _dlinfo = dlinfo
2180 * External entry for dlinfo(3dl).
2183 dlinfo(void *handle, int request, void *p) function
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c2805 dlpi_info_t dlinfo; local
2825 if (dlpi_info(dh, &dlinfo, 0) != DLPI_SUCCESS) {
2832 mtu = dlinfo.di_max_sdu;

Completed in 91 milliseconds