Data Link Provider Interface Library Functions
dlpienabmulti(3DLPI)
NAME
dlpienabmulti, dlpidisabmulti - enable or disable DLPI
multicast messages for an address
SYNOPSIS
cc [ flag... ] file... -ldlpi [ library... ]
#include
int dlpienabmulti(dlpihandlet dh, const void *addrp,
sizet addrlen);
int dlpidisabmulti(dlpihandlet dh, const void *addrp,
sizet addrlen);
DESCRIPTION
The dlpienabmulti() function enables reception of messages
destined to the multicast address pointed to by addrp on the
DLPI link instance associated with DLPI handle dh. The DLPI
link instance will pass up only those messages destined for
enabled multicast addresses. This operation can be performed
in any DLPI state of a handle.
The dlpidisabmulti() function disables a specified multi-
cast address pointed to by addrp on the DLPI link instance
associated with DLPI handle dh. This operation can be per-
formed in any DLPI state of a handle.
RETURN VALUES
Upon success, DLPISUCES is returned. If DLSYSER is
returned, errno contains the specific UNIX system error
value. Otherwise, a DLPI error value defined in
or DLPIEINHANDLE is returned.
ERORS
DLPIEBADMSG Bad DLPI message
DLPIEINHANDLE Invalid DLPI handle
DLPIEINVAL Invalid argument
DLPIETIMEDOUT DLPI operation timed out
ATRIBUTES
SunOS 5.11 Last change: 22 Aug 2007 1
Data Link Provider Interface Library Functions
dlpienabmulti(3DLPI)
See attributes(5) for description of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level Safe
SEE ALSO
libdlpi(3LIB), attributes(5)
SunOS 5.11 Last change: 22 Aug 2007 2
Data Link Provider Interface Library Functions
dlpienabmulti(3DLPI)
SunOS 5.11 Last change: 22 Aug 2007 3
|