SAMV71 Xplained Ultra Software Package 1.5

api_msg_msg Struct Reference

#include <D:/git/git_canopus_1/softpack/samv7/toolkits/mdk_v71/ARM/examples/Atmel/SAMV71_Xplained_Ultra/libraries/liblwip/source/lwip_1.3.2/src/include/lwip/api_msg.h>

Data Fields

struct netconnconn
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

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

Definition at line 57 of file api_msg.h.


Field Documentation

struct { ... } api_msg_msg::ad

used for do_getaddr

used for do_send

Definition at line 64 of file api_msg.h.

struct { ... } api_msg_msg::bc

used for do_bind and do_connect

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

Definition at line 60 of file api_msg.h.

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


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines