DLPI_IFTYPE(3DLPI)DLPI_IFTYPE(3DLPI)NAMEdlpi_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 ALSOlibdlpi(3LIB), attributes(5)
Feb 8, 2008 DLPI_IFTYPE(3DLPI)