MACIOC_SETALLMCA(7mdi)


MACIOC_SETALLMCA -- MDI deliver multicast frames ioctl

Description

This ioctl requests that the MDI driver begin delivering frames sent to all multicast MAC addresses in addition to the adapter's MAC address, the broadcast address, and existing multicast addresses. The driver will continue to receive frames on all multicast MAC addresses until either a MACIOC_DELALLMCA ioctl request is received or the MDI device is closed.

Parameters

None.

Data returned

The MDI driver should fail this ioctl if the adapter is not capable of receiving all multicast addresses. Do not set promiscuous mode and filter out unicast addresses to support this ioctl.

Acknowledgement should be one of the following:


M_IOCACK(D7str)
Set ioc_rval and ioc_count to zero.

M_IOCNAK(D7str)
Set ioc_count to zero, ioc_rval to -1, and ioc_error to one of the following:

EPERM
insufficient privilege

EINVAL
Device does not use MAC addresses

Version applicability

mdi: 2, 2.1

References

Intro(7mdi), MACIOC_DELALLMCA(7mdi)

``MDI ioctls'' in HDK Technical Reference


25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
HDK 7.1.0b - 15 March 2000