Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dlpi_arptype(3dlpi) [opensolaris man page]

dlpi_arptype(3DLPI)				  Data Link Provider Interface Library Functions			       dlpi_arptype(3DLPI)

NAME
dlpi_arptype - convert a DLPI MAC type to an ARP hardware type SYNOPSIS
cc [ flag... ] file... -ldlpi [ library... ] #include <libdlpi.h> uint_t dlpi_arptype(uint_t dlpitype); DESCRIPTION
The dlpi_arptype() function converts a DLPI MAC type to an ARP hardware type defined in <netinet/arp.h> RETURN VALUES
Upon success, the corresponding ARP hardware type is returned. Otherwise, zero is returned. ATTRIBUTES
See attributes(5) for description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
libdlpi(3LIB), attributes(5) SunOS 5.11 8 Feb 2008 dlpi_arptype(3DLPI)

Check Out this Related Man Page

dlpi_iftype(3DLPI)				  Data Link Provider Interface Library Functions				dlpi_iftype(3DLPI)

NAME
dlpi_iftype - convert a DLPI MAC type to a BSD socket interface type SYNOPSIS
cc [ flag... ] file... -ldlpi [ library... ] #include <libdlpi.h> uint_t dlpi_iftype(uint_t dlpitype); DESCRIPTION
The dlpi_iftype() function converts a DLPI MAC type to a BSD socket interface type defined in <net/if_types.h>. RETURN VALUES
Upon success, the corresponding BSD socket interface type is returned. Otherwise, zero is returned. ATTRIBUTES
See attributes(5) for description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
libdlpi(3LIB), attributes(5) SunOS 5.11 8 Feb 2008 dlpi_iftype(3DLPI)
Man Page