[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Filtering Ethernet multicasr frames
From: |
Justus Winter |
Subject: |
Re: Filtering Ethernet multicasr frames |
Date: |
Thu, 29 Jun 2017 11:15:17 +0200 |
Joan Lledó <joanlluislledo@gmail.com> writes:
> Hello,
>
> finally I've managed to fix the problem with IPv6 in my LwIP
> translator, and the problem was that the driver was discarding some
> Ethernet multicast frames.
>
> I've fixed it by enabling the IFF_ALLMULTI flag through
> device_set_status(), that is, now there is no filtering and all
> multicast frames reach the stack.
Good!
> It is interesting to read the link in [1], that divides the drivers
> into three classes depending on their capacity to filter multicast
> frames. Now we're in the first class, not filtering at all, but I'd
> like to know if the device interface provides a way to manage a list
> of allowed addresses, like in the third class. Is that possible?
Well, I don't know if the Linux drivers in our dde driver are able to do
that, but I don't think we should spent any more time on them.
It is possible to use bpf filters so that only interesting packets are
sent to the lwip stack, even though they are still processed by the
driver though.
Justus
signature.asc
Description: PGP signature