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
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 aredefined in
cated and must not be freed by the caller.. The string is not dynamically allo- 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 attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
libdlpi(3LIB), attributes(5)SunOS 5.11 Last change: 15 Jun 2007 1
Data Link Provider Interface Library Functionsdlpi_mactype(3DLPI)
SunOS 5.11 Last change: 15 Jun 2007 2