DLPI_ARPTYPE(3DLPI) Data Link Provider Interface Library Functions

NAME


dlpi_arptype - convert a DLPI MAC type to an ARP hardware type

SYNOPSIS


cc [ flag... ] file... -ldlpi [ library... ]
#include <libdlpi.h>
uint_t dlpi_arptype(uint_t dlpitype);


DESCRIPTION


The dlpi_arptype() function converts a DLPI MAC type to an ARP
hardware type defined in <netinet/arp.h>

RETURN VALUES


Upon success, the corresponding ARP hardware type is returned.
Otherwise, zero is returned.

ATTRIBUTES


See attributes(7) for description of the following attributes:


+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Committed |
+--------------------+-----------------+
|MT-Level | Safe |
+--------------------+-----------------+

SEE ALSO


libdlpi(3LIB), attributes(7)

February 8, 2008 DLPI_ARPTYPE(3DLPI)

tribblix@gmail.com :: GitHub :: Privacy