Prusa MINI Firmware overview
tcpip_msg Struct Reference

#include <tcpip_priv.h>

Collaboration diagram for tcpip_msg:

Public Attributes

enum tcpip_msg_type type
 
union {
   struct {
      tcpip_callback_fn   function
 
      void *   msg
 
   }   api_msg
 
   struct {
      tcpip_api_call_fn   function
 
      struct tcpip_api_call_data *   arg
 
      sys_sem_t *   sem
 
   }   api_call
 
   struct {
      struct pbuf *   p
 
      struct netif *   netif
 
      netif_input_fn   input_fn
 
   }   inp
 
   struct {
      tcpip_callback_fn   function
 
      void *   ctx
 
   }   cb
 
msg
 

Member Data Documentation

◆ type

enum tcpip_msg_type tcpip_msg::type

◆ function [1/2]

tcpip_callback_fn tcpip_msg::function

◆ msg [1/2]

void* tcpip_msg::msg

◆ api_msg

struct { ... } tcpip_msg::api_msg

◆ function [2/2]

tcpip_api_call_fn tcpip_msg::function

◆ arg

struct tcpip_api_call_data* tcpip_msg::arg

◆ sem

sys_sem_t* tcpip_msg::sem

◆ api_call

struct { ... } tcpip_msg::api_call

◆ p

struct pbuf* tcpip_msg::p

◆ netif

struct netif* tcpip_msg::netif

◆ input_fn

netif_input_fn tcpip_msg::input_fn

◆ inp

struct { ... } tcpip_msg::inp

◆ ctx

void* tcpip_msg::ctx

◆ cb

struct { ... } tcpip_msg::cb

◆ msg [2/2]

union { ... } tcpip_msg::msg