lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Calling netif_set_link_up/down in my driver


From: Simon Goldschmidt
Subject: Re: [lwip-users] Calling netif_set_link_up/down in my driver
Date: Thu, 24 May 2012 16:23:45 +0200

Mason <address@hidden> wrote:
> If LWIP_TCPIP_CORE_LOCKING is 0, tcpip_netifapi looks
> fairly similar to tcpip_callback_with_block.
> 
> Does netifapi make sense when LWIP_TCPIP_CORE_LOCKING is 1,
> in which case there is no message passing, the operation is
> done within the calling context holding LOCK_TCPIP_CORE?

Using netifapi makes sense in both configurations as you can just use the 
predefined functions instead of writing your own code. I didn't quite get why 
you can't use the netifapi functions, though.

Simon
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
        
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a



reply via email to

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