NDD_DISABLE_ADDRESS Device Control Operation

The NDD_DISABLE_ADDRESS command disables the receiving packets with a specified alternate (for example, multicast) address. The arg and length parameters specify the address and length in bytes of the alternate address to be disabled. The NDD_ALTADDRS flag in the ndd_flags field is reset if this is the last alternate address.

The device driver verifies that if the address is a valid multicast address. If the address is not a valid multicast address, the operation fails with an EINVAL error. The device driver makes sure that the multicast address can be found in its multicast table. Whenever a match is found, the driver decrements the reference count of that individual address in its multicast table. If the reference count becomes 0, the driver deletes the address from the table and update the multicast filter on the adapter.