Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 1997 00:24:19 +0900
From:      itojun@itojun.org
To:        Bill Fenner <fenner@parc.xerox.com>
Cc:        freebsd-bugs@freefall.freebsd.org
Subject:   Re: i386/3048: multicast support necessery in some drivers. 
Message-ID:  <18097.859130659@itojun.csl.sony.co.jp>
In-Reply-To: fenner's message of Sun, 23 Mar 97 00:58:35 PST. <97Mar23.005846pst.177486@crevenia.parc.xerox.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

>This patch will always keep the card in promiscuous mode.  There is
>always at least one group membership (224.0.0.1) on any given interface.

	Aha, I'm sorry for that.
	Anyway, it would be better to make drivers, either:
	- IFF_MULTICAST to be dropped for non multicast-capable IF
	- IFF_MULTICAST raised and set to promiscuous mode for non multicast
	  capable IF

	Otherwise, OSPF and IPv6 will not work.
	(I'm in a working group implementing IPv6 stack for BSD/OS and FreeBSD.
	see http://www.wide.ad.jp/wg/ipv6/)

>Doesn't FIL_GROUP mean "receive multicasts"?  I was under the impression
>that the code in the driver didn't keep track of multicast membership
>because 3com cards don't have multicast group filters; their level of
>multicast granularity is "on" or "off".  (This dates back from the days
>of VME boards for Sun3's... and they still haven't learned... sigh)

	BSD/OS header file says,

#define EFRXF_ADDR	0x01	/*accept individual address*/
#define EFRXF_AM	0x02	/*accept multicast*/
#define EFRXF_AB	0x03	/*accept broadcast*/
#define EFRXF_PROM	0x04	/*promiscuous mode*/

	and it does not include multicast filter, as you've noted.

itojun



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18097.859130659>