Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dlpi_mactype(3dlpi) [opensolaris man page]

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

NAME
dlpi_mactype - convert a DLPI MAC type to a string SYNOPSIS
cc [ flag ... ] file ... -ldlpi [ library ... ] #include <libdlpi.h> const char *dlpi_mactype(uint_t mactype); DESCRIPTION
The dlpi_mactype() function returns a pointer to a string that describes the specified mactype. Possible MAC types are defined in <sys/dlpi.h>. The string is not dynamically allocated and must not be freed by the caller. RETURN VALUES
Upon success, the function returns a pointer string that describes the MAC type. If mactype is unknown, the string "Unknown MAC Type" 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 15 Jun 2007 dlpi_mactype(3DLPI)

Check Out this Related Man Page

libdlpi(3LIB)							Interface Libraries						     libdlpi(3LIB)

NAME
libdlpi - Data Link Provider Interface (DLPI) library SYNOPSIS
cc [ flag... ] file... -ldlpi [ library... ] #include <libdlpi.h> DESCRIPTION
The libdlpi library provides functions that support a programming interface for DLPI applications. The functions support only DLPI Version 2 devices in connectionless mode. INTERFACES
The shared object libdlpi.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces. dlpi_arptype dlpi_bind dlpi_close dlpi_disabmulti dlpi_disabnotify dlpi_enabmulti dlpi_enabnotify dlpi_fd dlpi_get_physaddr dlpi_iftype dlpi_info dlpi_linkname dlpi_mactype dlpi_open dlpi_promiscoff dlpi_promiscon dlpi_recv dlpi_send dlpi_set_physaddr dlpi_set_timeout dlpi_strerror dlpi_unbind dlpi_walk FILES
/lib/libdlpi.so.1 shared object /lib/64/libdlpi.so.1 64-bit shared object ATTRIBUTES
See attributes(5) for description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
Intro(3), attributes(5) SunOS 5.11 11 Jan 2008 libdlpi(3LIB)
Man Page