[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Multicast MAC address filtering
From: |
Ivan Warren |
Subject: |
Re: [lwip-users] Multicast MAC address filtering |
Date: |
Tue, 22 Jan 2019 21:34:52 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Le 1/22/2019 à 8:13 PM, address@hidden a écrit :
Struct netif has the 2 callback functions for this: 'igmp_mac_filter'
and 'mld_mac_filter'. These two take IP addreses (each in their
matching version), but since the mapping is defined, that should work
for you?
You should use 'netif_set_igmp_mac_filter()' and
'netif_set_mld_mac_filter()' to set these callbacks.
For IPv6, note that the 'mld_mac_filter' callback is not called for
the all-nodes group (if I remember correctly).
Regards,
Simon
Exactly what I was looking for !
I'll look in the documentation (or in the source if needed) as to how to
implement those callbacks !
Thanks for the hint !
--Ivan
(Sorry for the double message Simon)
smime.p7s
Description: Signature cryptographique S/MIME