api_msg is only used within LwIP.
 
Symbols
loading...
Files
loading...
SummarySyntaxRelatedReferences

Fields

Field
Declared as
Description
struct netconn *
The netconn which to process - always needed: it includes the semaphore which is used to block the application thread until the function finished.
The return value of the function executed in tcpip_thread.
union { struct netbuf *b; struct { u8_t proto; } n; struct { API_MSG_M_DEF_C(ip_addr_t, ipaddr); u16_t port; u8_t if_idx; } bc; struct { ip_addr_t API_MSG_M_DEF(ipaddr); u16_t API_MSG_M_DEF(port); u8_t local; } ad; struct { const struct netvector *vector; u16_t vector_cnt; size_t vector_off; size_t len; size_t offset; u8_t apiflags; #if LWIP_SO_SNDTIMEO u32_t time_started; #endif } w; struct { size_t len; } r; #if LWIP_TCP struct { u8_t shut; #if LWIP_SO_SNDTIMEO || LWIP_SO_LINGER u32_t time_started; #else u8_t polls_left; #endif } sd; #endif #if LWIP_IGMP || (LWIP_IPV6 && LWIP_IPV6_MLD) struct { API_MSG_M_DEF_C(ip_addr_t, multiaddr); API_MSG_M_DEF_C(ip_addr_t, netif_addr); u8_t if_idx; enum netconn_igmp join_or_leave; } jl; #endif #if TCP_LISTEN_BACKLOG struct { u8_t backlog; } lb; #endif }
Depending on the executed function, one of these union members is used.

References

from examples