Subject: multicast filter
To: None <tech-net@NetBSD.org>
From: Nitin P Mahajan <Nitin@soc-soft.com>
List: tech-net
Date: 04/08/2004 20:13:54
Hi!

	I want to write a function to set a multicast filter in my
Ethernet controller driver. But as seen in some driver in such a
function the interface flags such as IFF_ALLMULTI, IFF_PROMISC are
checked and corresponding action is taken.

Can anyone please tell me that where these flags are being set for an
interface?
I mean if I have the following options with my controller

        1. Reject packets CAM recognizes
           accept other.
	  2. Broadcast accept
	  3. Multicast accept
	  4. unicast accept=20

How do I decide which one to enable when that is who will set the
corresponding flags in the ifnet structure?

Thanking you in advance

Regards

-Nitin