#include <C:/softpack/canopus1.3/softpack/samv7/libraries/liblwip/source/lwip_1.3.2/src/include/lwip/api_msg.h>
Data Fields | |
struct netconn * | conn |
union { | |
struct netbuf * b | |
struct { | |
u8_t proto | |
} n | |
struct { | |
struct ip_addr * ipaddr | |
u16_t port | |
} bc | |
struct { | |
struct ip_addr * ipaddr | |
u16_t * port | |
u8_t local | |
} ad | |
struct { | |
const void * dataptr | |
size_t len | |
u8_t apiflags | |
} w | |
struct { | |
u16_t len | |
} r | |
} | msg |
This struct includes everything that is necessary to execute a function for a netconn in another thread context (mainly used to process netconns in the tcpip_thread context to be thread safe).
Definition at line 57 of file api_msg.h.
struct { ... } api_msg_msg::ad |
used for do_getaddr
struct netbuf* api_msg_msg::b |
struct { ... } api_msg_msg::bc |
used for do_bind and do_connect
struct netconn* api_msg_msg::conn |
union { ... } api_msg_msg::msg |
Depending on the executed function, one of these union members is used
struct { ... } api_msg_msg::n |
used for do_newconn
struct { ... } api_msg_msg::r |
used for do_recv
struct { ... } api_msg_msg::w |
used for do_write