Le 1/22/2019 à 8:13 PM, [email protected] 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)


Attachment: smime.p7s
Description: Signature cryptographique S/MIME

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to