lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Link Up/Down Treatment


From: bernard
Subject: Re: [lwip-users] Link Up/Down Treatment
Date: Wed, 12 Jun 2013 19:15:15 +0800

We define two macro:
#define netifapi_netif_set_link_up(netif)      netifapi_netif_common(netif, netif_set_link_up, NULL)
#define netifapi_netif_set_link_down(netif)    netifapi_netif_common(netif, netif_set_link_down, NULL)

And then call it in any thread but not in ISR. 



Regards, 
Bernard Xiong
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RT-Thread - An open source RTOS from China.
https://github.com/RT-Thread/rt-thread
http://www.rt-thread.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


2013/6/12 ella <address@hidden>
And what about netif_set_link_up/down ?
Should I use them instead?




--
View this message in context: http://lwip.100.n7.nabble.com/Link-Up-Down-Treatment-tp21551p21552.html
Sent from the lwip-users mailing list archive at Nabble.com.

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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