User Tools

Site Tools


solaris:dlpi_iftype.3dlpi

dlpi_iftype


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

SEE ALSO

libdlpi(3LIB), attributes(7)


solaris/dlpi_iftype.3dlpi.txt · Last modified: 2023/07/19 08:58 by A User Not Logged in