lwIP  2.0.2
Lightweight IP stack
api_msg Struct Reference

#include <api_msg.h>

Data Fields

struct netconnconn
 
err_t err
 
union {
   struct netbuf *   b
 
   struct {
   }   n
 
   struct {
   }   bc
 
   struct {
   }   ad
 
   struct {
   }   w
 
   struct {
   }   r
 
   struct {
   }   sd
 
   struct {
   }   jl
 
msg
 

Detailed Description

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).

Field Documentation

◆ ad

struct { ... } api_msg::ad

used for lwip_netconn_do_getaddr

◆ b

struct netbuf* api_msg::b

used for lwip_netconn_do_send

◆ bc

struct { ... } api_msg::bc

used for lwip_netconn_do_bind and lwip_netconn_do_connect

◆ conn

struct netconn* api_msg::conn

The netconn which to process - always needed: it includes the semaphore which is used to block the application thread until the function finished.

◆ err

err_t api_msg::err

The return value of the function executed in tcpip_thread.

◆ jl

struct { ... } api_msg::jl

used for lwip_netconn_do_join_leave_group

◆ msg

union { ... } api_msg::msg

Depending on the executed function, one of these union members is used

◆ n

struct { ... } api_msg::n

used for lwip_netconn_do_newconn

◆ r

struct { ... } api_msg::r

used for lwip_netconn_do_recv

◆ sd

struct { ... } api_msg::sd

used for lwip_netconn_do_close (/shutdown)

◆ w

struct { ... } api_msg::w

used for lwip_netconn_do_write


The documentation for this struct was generated from the following file: