lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] netif_set_link_up()/down()


From: Zach Smith
Subject: [lwip-users] netif_set_link_up()/down()
Date: Wed, 23 Jan 2013 00:54:02 +0000

I gather you are supposed to use netif_set_link_up()/down() when you have a change in link status.  So, I notice that from calling netif_set_link_up() after getting a valid link status then DHCP Request messages go out and all that is verified again.  That is working well.  But I am now wondering what should be happening on the IP6 side.  When my link comes back up after going down I see some router solicitation messages go out again but I am wondering if also some neighbor discovery messages should go out as well to verify the link local and auto-configured addresses.

 

When my link is re-established I tried manually setting any IP6 address states to IP6_ADDR_TENTATIVE and I noticed that this causes the neighbor solicitations to go out again and then the states go back to IP6_ADDR_PREFERRED.  Is there another, more preferred, way to accomplish this?

 

-Zach


reply via email to

[Prev in Thread] Current Thread [Next in Thread]