 |
Index for Section 9 |
|
 |
Alphabetical listing for L |
|
 |
Bottom of page |
|
lan_add_multi(9r)
NAME
lan_add_multi - Network: Adds a multicast address to the multicast table
SYNOPSIS
int lan_add_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 add to the table.
DESCRIPTION
The lan_add_multi interface adds a multicast address to the multicast
table. If the address already exists in the table, lan_add_multi simply
increments the reference count. If the address is new, it adds the address
to the table at the first available location.
The driver should check the return value to determine whether the table has
changed. If so, it should update the hardware.
RETURN VALUES
On successful completion, the lan_add_multi interface returns one of the
following values:
LAN_MULTI_FAIL
Indicates that the multicast address could not be added to the table.
LAN_MULTI_NOT_CHANGED
Indicates that the multicast table did not change.
LAN_MULTI_CHANGED
The multicast address changed; the driver should update the hardware.
SEE ALSO
Kernel Interfaces: lan_del_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 |
|