This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: TCP/IP help needed
- From: Gary Thomas <gthomas at redhat dot com>
- To: David Webster <dwebster at lanergy dot com>
- Cc: 'John Smith' <john_smith1179 at yahoo dot com>,eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 11 Mar 2002 06:25:25 -0700
- Subject: RE: [ECOS] TCP/IP help needed
- References: <001801c1c8ff$4e0942d0$4103a8c0@LANERGY05>
On Mon, 2002-03-11 at 06:18, David Webster wrote:
> I'm using a snapshot from cvs and have found multicasting to work fine
> in my application, with the following provisos:
> - my Ethernet chip is in promiscuous mode so I didn't have to
> worry about setting up multicast hash tables etc
> - I had to enable the code in eth_drv.c eth_drv_ioctl() that
> handles SIOCADDMULTI and SIOCDELMULTI - in my cvs version it was #if 0'd
> out so I've enabled this code but I don't call eth_drv_stop and
> eth_drv_start because my Ethernet chip is already in promiscuous mode.
>
> I think that was all I did and it just sprang into life.
>
That's good to hear. The reason for the #ifdef is that we'd never had
the chance to work on (nor test) multicast. We've also improved that
section of the ethernet driver code so it can work properly - i.e.
drivers can use actual multicast filtering and not just promiscuous
mode.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss