dlpi_iftype (3dlpi) manual page

Table of Contents

Name

dlpi_iftype - convert a DLPI MAC type to a BSD socket interface type

Synopsis

cc [ flag... ] file... -ldlpi [ library... ] #include <libdlpi.h>

uint_t dlpi_iftype(uint_t dlpitype);

Description

The dlpi_iftype() function converts a DLPI MAC type to a BSD socket interface type defined in <net/if_types.h>.

Return Values

Upon success, the corresponding BSD socket interface type is returned. Otherwise, zero is returned.

Attributes

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

tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelSafe

See Also

libdlpi(3LIB) , attributes(5)


Table of Contents