1dlpi_set_physaddrD(a3tDaLPLIi)nk Provider Interface Library Fudnlcptii_osnest_physaddr(3DLPI)
2
3
4

NAME

6       dlpi_set_physaddr - set physical address using DLPI
7

SYNOPSIS

9       cc [ flag... ] file... -ldlpi [ library... ]
10       #include <libdlpi.h>
11
12       int dlpi_set_physaddr(dlpi_handle_t dh, uint_t type,
13            const void *addrp, size_t *addrlen);
14
15

DESCRIPTION

17       The  dlpi_set_physaddr()  function  sets  the physical address via DLPI
18       handle dh associated with the DLPI link  instance.  Upon  success,  the
19       physical address is set to addrp with a length of addrlen bytes.
20
21
22       In  this release, type must be set to DL_CURR_PHYS_ADDR, which sets the
23       current physical address.
24

RETURN VALUES

26       Upon success, DLPI_SUCCESS is returned. If DL_SYSERR is returned, errno
27       contains  the specific UNIX system error value. Otherwise, a DLPI error
28       value defined in <sys/dlpi.h> or an error value listed in the following
29       section is returned.
30

ERRORS

32       DLPI_EBADMSG      Bad DLPI message
33
34
35       DLPI_EINHANDLE    Invalid DLPI handle
36
37
38       DLPI_EINVAL       Invalid argument
39
40
41       DLPI_ETIMEDOUT    DLPI operation timed out
42
43

ATTRIBUTES

45       See attributes(5) for description of the following attributes:
46
47
48
49
50       ┌─────────────────────────────┬─────────────────────────────┐
51       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │Interface Stability          │Committed                    │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │MT-Level                     │Safe                         │
56       └─────────────────────────────┴─────────────────────────────┘
57

SEE ALSO

59       dlpi_get_physaddr(3DLPI), libdlpi(3LIB), attributes(5)
60
61
62
63SunOS 5.11                        22 Aug 2007         dlpi_set_physaddr(3DLPI)
Impressum