Hi,
According to WiKi

[email protected] wrote
> your driver should call the netif_set_link_up and netif_set_link_down
> functions instead of setting the NETIF_FLAG_LINK_UP flag directly. (If you
> are using the tcpip thread, then you should call tcpip_callback with an
> argument of one of these two functions; this will protect against
> concurrent access, specifically in the ARP modules.)

So to my understanding in driver I can use tcpip_callback instead of
netifapi_netif_common. But according to the source code they are doing the
same job, posting function pointer via message queue to the tcpip_thread.





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

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

Reply via email to