1dlpi_enabmulti(3DDLaPtIa)Link Provider Interface Library Functdilopnis_enabmulti(3DLPI)
2
3
4

NAME

6       dlpi_enabmulti, dlpi_disabmulti - enable or disable DLPI multicast mes‐
7       sages for an address
8

SYNOPSIS

10       cc [ flag... ] file... -ldlpi [ library... ]
11       #include <libdlpi.h>
12
13       int dlpi_enabmulti(dlpi_handle_t dh, const void *addrp,
14            size_t addrlen);
15
16
17       int dlpi_disabmulti(dlpi_handle_t dh, const void *addrp,
18            size_t addrlen);
19
20

DESCRIPTION

22       The dlpi_enabmulti() function enables reception of messages destined to
23       the  multicast  address  pointed  to by addrp on the DLPI link instance
24       associated with DLPI handle dh. The DLPI link  instance  will  pass  up
25       only  those  messages  destined  for  enabled multicast addresses. This
26       operation can be performed in any DLPI state of a handle.
27
28
29       The dlpi_disabmulti() function disables a specified  multicast  address
30       pointed to by addrp on the DLPI link instance associated with DLPI han‐
31       dle dh. This operation can be performed in any DLPI state of a handle.
32

RETURN VALUES

34       Upon success, DLPI_SUCCESS is returned. If DL_SYSERR is returned, errno
35       contains  the specific UNIX system error value. Otherwise, a DLPI error
36       value defined in <sys/dlpi.h> or DLPI_EINHANDLE is returned.
37

ERRORS

39       DLPI_EBADMSG      Bad DLPI message
40
41
42       DLPI_EINHANDLE    Invalid DLPI handle
43
44
45       DLPI_EINVAL       Invalid argument
46
47
48       DLPI_ETIMEDOUT    DLPI operation timed out
49
50

ATTRIBUTES

52       See attributes(5) for description of the following attributes:
53
54
55
56
57       ┌─────────────────────────────┬─────────────────────────────┐
58       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
59       ├─────────────────────────────┼─────────────────────────────┤
60       │Interface Stability          │Committed                    │
61       ├─────────────────────────────┼─────────────────────────────┤
62       │MT-Level                     │Safe                         │
63       └─────────────────────────────┴─────────────────────────────┘
64

SEE ALSO

66       libdlpi(3LIB), attributes(5)
67
68
69
70SunOS 5.11                        22 Aug 2007            dlpi_enabmulti(3DLPI)
Impressum