Re: Multicast support with Linux Ethernet drivers

2006-02-24 Thread Manuel Menal
Gianluca Guida wrote: Hi Manuel, Hi, On 2/24/06, Manuel Menal <[EMAIL PROTECTED]> wrote: I'll be working on those patches, and BPF as well, during the next week, so they might change. Support for wireless extensions and multicasting peers will just need an extension to this patch. Yup

Re: Multicast support with Linux Ethernet drivers

2006-02-24 Thread Manuel Menal
Gianluca Guida wrote: Hi, Hi Gianluca, There's no a solution still, but it should be quite easy to find one. The problem is that the Mach's glue doesn't handle at the moment the multicast functionality. Your solution should be then to hack the both Mach's device interface and it's linux emula

Re: Multicast support with Linux Ethernet drivers

2006-02-24 Thread Gianluca Guida
Hi Manuel, On 2/24/06, Manuel Menal <[EMAIL PROTECTED]> wrote: > I'll be working on those patches, and BPF as well, during the next week, > so they might change. Great! promisc.patch is very well done, and shows exactly what I tried to explain with my broken english to Richard. :-) Support for

Re: Multicast support with Linux Ethernet drivers

2006-02-23 Thread Richard Braun
Le mercredi 22 février 2006 à 18:42 +0100, Samuel Thibault a écrit : > IIRC, multicast support at driver level is quite crappy :) > > Boards are usually able to subscribe to a few multicast groups only, if > more are needed, then promiscuous mode is needed. I don't think the notion of multicast g

Re: Multicast support with Linux Ethernet drivers

2006-02-23 Thread Richard Braun
Le mercredi 22 février 2006 à 09:26 +0100, Samuel Thibault a écrit : > Ethernet multicast adresses can be recognized by the 01:00:00:00:00:00 > bit that is set. The ff:ff:ff:ff:ff:ff broadcast address is just a > special multicast address (i.e. everybody should listen to it). Thanks but that's not

Re: Multicast support with Linux Ethernet drivers

2006-02-23 Thread Gianluca Guida
Hi, There's no a solution still, but it should be quite easy to find one. The problem is that the Mach's glue doesn't handle at the moment the multicast functionality. Your solution should be then to hack the both Mach's device interface and it's linux emulation glue to use advanced device functio

Re: Multicast support with Linux Ethernet drivers

2006-02-23 Thread Samuel Thibault
Richard Braun, le Wed 22 Feb 2006 19:27:24 +0100, a écrit : > There are, > however, multicast filters that can be written to the NICs, up to a > fixed limit, and once there are too many filters, the driver sets > promiscuous mode. Should those filters be setup at driver init to accept > multicast,

Multicast support with Linux Ethernet drivers

2006-02-21 Thread Richard Braun
Hello, I'm currently developing a packet filter, and I noticed that GNU Mach doesn't catch Ethernet multicast packets (though broadcast packets are correctly handled). I temporarily set mc_filter[0] and mc_filter[1] to 0x (as it is done for promiscuous mode) in driver rtl8139, and then mul