tcpip_callback() is only used within LwIP.
 
Symbols
loading...
Files
loading...

tcpip_callback() function

Call a specific function in the thread context of tcpip_thread for easy access synchronization. A function called in that way may access lwIP core code without fearing concurrent access. Blocks until the request is posted. Must not be called from interrupt context! @see tcpip_try_callback

Syntax

err_t tcpip_callback(tcpip_callback_fn function,     void *ctx);
Implemented in tcpip.c:308

Arguments

function

the function to call

ctx

parameter passed to f

Return value

ERR_OK if the function was called, another err_t if not

References

LocationText
tcpip.c:309
tcpip_callback(tcpip_callback_fn function, void *ctx)
tcpip.h:83
err_t tcpip_callback(tcpip_callback_fn function, void *ctx);

Call Tree

Functions called by tcpip_callback()
tcpip_callback()
printf()
all items filtered out
Data read by tcpip_callback()
Data written by tcpip_callback()
tcpip_callback()
tcpip_callback()::msg
all items filtered out
Type of tcpip_callback()
tcpip_callback()
all items filtered out