From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31552 invoked by alias); 9 Jul 2007 06:59:47 -0000 Received: (qmail 31542 invoked by uid 22791); 9 Jul 2007 06:59:46 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.178) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 09 Jul 2007 06:59:43 +0000 Received: by wa-out-1112.google.com with SMTP id l24so1217475waf for ; Sun, 08 Jul 2007 23:59:42 -0700 (PDT) Received: by 10.114.53.1 with SMTP id b1mr2823137waa.1183964382084; Sun, 08 Jul 2007 23:59:42 -0700 (PDT) Received: by 10.115.18.7 with HTTP; Sun, 8 Jul 2007 23:59:42 -0700 (PDT) Message-ID: Date: Mon, 09 Jul 2007 06:59:00 -0000 From: "Alexander Aganichev" To: "eCos Discussion" In-Reply-To: <20070708185139.GE24630@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070708185139.GE24630@lunn.ch> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Multi-cast support in Ethernet drivers X-SW-Source: 2007-07/txt/msg00076.txt.bz2 On 7/8/07, Andrew Lunn wrote: > On Fri, Jul 06, 2007 at 05:06:41PM +0400, Alexander Aganichev wrote: > > Hello, > > > > I noticed that when I use DM9000 driver I have a complaint from the IO > > subsystem that multi-cast is not supported, but wanted by FreeBSD > > stack. I added this support and everything stop working. I dig it a > > bit and found that FreeBSD wanted some bogus address to be added. It > > seems it cannot work at all since link level address is seems not > > filled in the struct sockaddr_dl anywhere in the eCos tree (correct me > > if I'm wrong, but I was unable to find it). So now I'm confused why > > this complaint was ever introduced and how it works for the Ethernet > > drivers that support multi-cast mode already... For now I just > > disabled the feature and return good result to prevent complaint. Any > > ideas how it should work correctly? > > Multicast support is required for IPv6 support. It is not needed for > IPv4. > > It looks like the IPv4 code is joining the all hosts group at start > up. See packages/net/bsd_tcpip/current/src/sys/netinet/in.c:738 Is it > this call which is causing your problems? Yes, it is this call. What is the best way to resolve that? -- WBR, Alexander -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss