dlpi_iftype(3dlpi) opensolaris man page | unix.com

Man Page: dlpi_iftype

Operating Environment: opensolaris

Section: 3dlpi

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)
Related Man Pages
dlpi_bind(3dlpi) - opensolaris
dlpi_disabnotify(3dlpi) - opensolaris
dlpi_get_physaddr(3dlpi) - opensolaris
dlpi_promiscon(3dlpi) - opensolaris
libdlpi(3lib) - opensolaris
Similar Topics in the Unix Linux Community
PHP Man Pages Now Available (Over 10,000)
Change directory for core file
Free Sun Blade 2k, Ultra 2, Ross Hyperstation 30, cards, memory- Baltimore, MD
What's legal and what's not?
What is good?