Data Link Provider Interface Library Functions
dlpi_iftype(3DLPI)
NAME
dlpi_iftype - convert a DLPI MAC type to a BSD socket inter-
face typeSYNOPSIS
cc [ flag... ] file... -ldlpi [ library... ]
#include
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
. 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 attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
libdlpi(3LIB), attributes(5)SunOS 5.11 Last change: 8 Feb 2008 1
Data Link Provider Interface Library Functionsdlpi_iftype(3DLPI)
SunOS 5.11 Last change: 8 Feb 2008 2