|
TuyaOS
|


宏定义 | |
| #define | LOCK_TCPIP_CORE() |
| #define | tcpip_callback_with_block(function, ctx, block) ((block != 0)? tcpip_callback(function, ctx) : tcpip_try_callback(function, ctx)) |
| #define | UNLOCK_TCPIP_CORE() |
类型定义 | |
| typedef void(* | tcpip_callback_fn) (void *ctx) |
| typedef void(* | tcpip_init_done_fn) (void *arg) |
函数 | |
| err_t | mem_free_callback (void *m) |
| err_t | pbuf_free_callback (struct pbuf *p) |
| err_t | tcpip_callback (tcpip_callback_fn function, void *ctx) |
| void | tcpip_callbackmsg_delete (struct tcpip_callback_msg *msg) |
| struct tcpip_callback_msg * | tcpip_callbackmsg_new (tcpip_callback_fn function, void *ctx) |
| err_t | tcpip_callbackmsg_trycallback (struct tcpip_callback_msg *msg) |
| err_t | tcpip_callbackmsg_trycallback_fromisr (struct tcpip_callback_msg *msg) |
| void | tcpip_init (tcpip_init_done_fn tcpip_init_done, void *arg) |
| err_t | tcpip_inpkt (struct pbuf *p, struct netif *inp, netif_input_fn input_fn) |
| err_t | tcpip_input (struct pbuf *p, struct netif *inp) |
| err_t | tcpip_try_callback (tcpip_callback_fn function, void *ctx) |
Functions to sync with TCPIP thread
| #define tcpip_callback_with_block | ( | function, | |
| ctx, | |||
| block | |||
| ) | ((block != 0)? tcpip_callback(function, ctx) : tcpip_try_callback(function, ctx)) |
| typedef void(* tcpip_callback_fn) (void *ctx) |
Function prototype for functions passed to tcpip_callback()
| typedef void(* tcpip_init_done_fn) (void *arg) |
Function prototype for the init_done function passed to tcpip_init