In my IP6 implementation I did not do anything with the mld_mac_filter 
parameter. It is just set to null in netif_add. FF02::1 is the all nodes 
multicast group so I think by default you are already joined to that group.

The only thing I can think of that you haven't mentioned is to make sure your 
MAC is set up to accept multicast packets. It may be set to receive broadcast 
already but IP6 won't work if it is not set to receive multicast.

-Zach

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Thursday, January 09, 2014 10:05 PM
To: [email protected]
Subject: [lwip-users] IPv6 porting, need help in netif->mld_mac_filter

Hi,

I am new to LWIP IPv6 implementation.
I am trying to port it for my device, I have set below netif param and #define 
to respective values

#define LWIP_IPV6                             1
#define LWIP_IPV6_DHCP6             1
#define LWIP_ICMP6                          1
#define LWIP_IPV6_AUTOCONFIG              1
#define LWIP_IPV6_NUM_ADDRESSES     6

netif->ip6_autoconfig_enabled = 1;
netif->output_ip6 = ethip6_output;

With this setting I could see LWIP is sending

a>     "Multicast Listner Report"

b>    Neighbour solicitation

c>     Router Solicitation (to ff02::2)

Also I can see my router is sending me Router advertisement (to ff02::1) which 
I am not able to receive. I feel this is because I haven't set below parameter 
in netif
netif->mld_mac_filter = ?????;

I am not sure what this function should be, As I know I have to join this 
multicast group to receive the advertisement packet.

Can someone help me in what this function should point to and is some example 
already  available?

Thanks and  Regards,
Manoj


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com<http://www.wipro.com>

________________________________
This email may contain information that is confidential and/or legally 
privileged in nature. The message is intended for the use of the individual(s) 
or entity listed above. If you are not the intended recipient, please do not 
read, copy, publish or distribute the communication; and notify the sender by 
replying to this message and deleting this copy and any copies that may be in 
your electronic system. Thank you for your compliance.
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to