DLPI_ARPTYPE(3DLPI) | Data Link Provider Interface Library Functions | DLPI_ARPTYPE(3DLPI) |
dlpi_arptype - convert a DLPI MAC type to an ARP hardware type
cc [ flag... ] file... -ldlpi [ library... ] #include <libdlpi.h> uint_t dlpi_arptype(uint_t dlpitype);
The dlpi_arptype() function converts a DLPI MAC type to an ARP hardware type defined in <netinet/arp.h>
Upon success, the corresponding ARP hardware type is returned. Otherwise, zero is returned.
See attributes(7) for description of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Committed |
MT-Level | Safe |
February 8, 2008 | OmniOS |