1dlpi_iftype(3DLPID)ata Link Provider Interface Library Functiondslpi_iftype(3DLPI)
2
3
4

NAME

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

SYNOPSIS

9       cc [ flag... ] file... -ldlpi [ library... ]
10       #include <libdlpi.h>
11
12       uint_t dlpi_iftype(uint_t dlpitype);
13
14

DESCRIPTION

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

RETURN VALUES

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

ATTRIBUTES

24       See attributes(5) for description of the following attributes:
25
26
27
28
29       ┌─────────────────────────────┬─────────────────────────────┐
30       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
31       ├─────────────────────────────┼─────────────────────────────┤
32       │Interface Stability          │Committed                    │
33       ├─────────────────────────────┼─────────────────────────────┤
34       │MT-Level                     │Safe                         │
35       └─────────────────────────────┴─────────────────────────────┘
36

SEE ALSO

38       libdlpi(3LIB), attributes(5)
39
40
41
42SunOS 5.11                        8 Feb 2008                dlpi_iftype(3DLPI)
Impressum