Go to main content

man pages section 3: Networking Library Functions

Exit Print View

Updated: July 2017
 
 

dlpi_arptype(3DLPI)

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(5) for description of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Safe

See Also

libdlpi(3LIB), attributes(5)