 |
Index for Section 9 |
|
 |
Alphabetical listing for L |
|
 |
Bottom of page |
|
lan_del_multi(9r)
NAME
lan_del_multi - Network: Deletes a multicast address from the multicast
table
SYNOPSIS
int lan_del_multi(
struct lan_multi *lmt,
unsigned char *maddr );
ARGUMENTS
lmt Specifies a pointer to the multicast table.
maddr
Specifies a pointer to the multicast address to be deleted.
DESCRIPTION
The lan_del_multi interface deletes a multicast address from the multicast
table. If the reference count to the address is greater than one,
lan_del_multi decrements the reference count but does not delete the
address. If the reference count is one, lan_del_multi decrements the
reference count and removes the address.
The device driver should check the return value from lan_del_multi to
determine whether the multicast table changed as a result of the operation.
If so, it should update the hardware.
RETURN VALUES
On successful completion, the lan_del_multi interface returns one of the
following values:
LAN_MULTI_FAIL
Indicates that the operation failed.
LAN_MULTI_NOT_CHANGED
Indicates that the reference count was decremented but the multicast
address was not deleted.
LAN_MULTI_CHANGED
Indicates that the address was removed from the multicast table; the
driver should update the hardware.
SEE ALSO
Kernel Interfaces: lan_add_multi(9r), LAN_FIND_MULTI(9r), LAN_GET_MULTI(9r)
Data Structures: lan_multi(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for L |
|
 |
Top of page |
|