Data Link Provider Interface Library Functions
dlpimactype(3DLPI)
NAME
dlpimactype - convert a DLPI MAC type to a string
SYNOPSIS
cc [ flag ... ] file ... -ldlpi [ library ... ]
#include
const char *dlpimactype(uintt mactype);
DESCRIPTION
The dlpimactype() function returns a pointer to a string
that describes the specified mactype. Possible MAC types are
defined in . The string is not dynamically allo-
cated 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.
ATRIBUTES
See attributes(5) for description of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE 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 Functions
dlpimactype(3DLPI)
SunOS 5.11 Last change: 15 Jun 2007 2
|