lwIP 2.1.1 Lightweight IP stack

Macros
Threading
lwIP » Options (lwipopts.h) » Infrastructure

## Macros
#define | TCPIP_THREAD_NAME "tcpip_thread"
#define | TCPIP_THREAD_STACKSIZE 0
#define | TCPIP_THREAD_PRIO 1
#define | TCPIP_MBOX_SIZE 0
#define | LWIP_TCPIP_THREAD_ALIVE()
#define | SLIPIF_THREAD_NAME "slipif_loop"
#define | SLIPIF_THREAD_STACKSIZE 0
#define | SLIPIF_THREAD_PRIO 1
#define | DEFAULT_THREAD_NAME "lwIP"
#define | DEFAULT_THREAD_STACKSIZE 0
#define | DEFAULT_THREAD_PRIO 1
#define | DEFAULT_RAW_RECVMBOX_SIZE 0
#define | DEFAULT_UDP_RECVMBOX_SIZE 0
#define | DEFAULT_TCP_RECVMBOX_SIZE 0
#define | DEFAULT_ACCEPTMBOX_SIZE 0

## Detailed Description

## Macro Definition Documentation

## ◆ DEFAULT_ACCEPTMBOX_SIZE

#define DEFAULT_ACCEPTMBOX_SIZE 0

DEFAULT_ACCEPTMBOX_SIZE: The mailbox size for the incoming connections. The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when the acceptmbox is created.

## ◆ DEFAULT_RAW_RECVMBOX_SIZE

#define DEFAULT_RAW_RECVMBOX_SIZE 0

DEFAULT_RAW_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_RAW. The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when the recvmbox is created.

## ◆ DEFAULT_TCP_RECVMBOX_SIZE

#define DEFAULT_TCP_RECVMBOX_SIZE 0

DEFAULT_TCP_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_TCP. The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when the recvmbox is created.

## ◆ DEFAULT_THREAD_NAME

#define DEFAULT_THREAD_NAME "lwIP"

DEFAULT_THREAD_NAME: The name assigned to any other lwIP thread.

## ◆ DEFAULT_THREAD_PRIO

#define DEFAULT_THREAD_PRIO 1

DEFAULT_THREAD_PRIO: The priority assigned to any other lwIP thread. The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

## ◆ DEFAULT_THREAD_STACKSIZE

#define DEFAULT_THREAD_STACKSIZE 0

DEFAULT_THREAD_STACKSIZE: The stack size used by any other lwIP thread. The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

## ◆ DEFAULT_UDP_RECVMBOX_SIZE

#define DEFAULT_UDP_RECVMBOX_SIZE 0

DEFAULT_UDP_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_UDP. The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when the recvmbox is created.

## ◆ LWIP_TCPIP_THREAD_ALIVE

#define LWIP_TCPIP_THREAD_ALIVE | ( |  | ) |

Define this to something that triggers a watchdog. This is called from tcpip_thread after processing a message.

## ◆ SLIPIF_THREAD_NAME

#define SLIPIF_THREAD_NAME "slipif_loop"

SLIPIF_THREAD_NAME: The name assigned to the slipif_loop thread.

## ◆ SLIPIF_THREAD_PRIO

#define SLIPIF_THREAD_PRIO 1

SLIPIF_THREAD_PRIO: The priority assigned to the slipif_loop thread. The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

## ◆ SLIPIF_THREAD_STACKSIZE

#define SLIPIF_THREAD_STACKSIZE 0

SLIP_THREAD_STACKSIZE: The stack size used by the slipif_loop thread. The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

## ◆ TCPIP_MBOX_SIZE

#define TCPIP_MBOX_SIZE 0

TCPIP_MBOX_SIZE: The mailbox size for the tcpip thread messages The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when tcpip_init is called.

## ◆ TCPIP_THREAD_NAME

#define TCPIP_THREAD_NAME "tcpip_thread"

TCPIP_THREAD_NAME: The name assigned to the main tcpip thread.

## ◆ TCPIP_THREAD_PRIO

#define TCPIP_THREAD_PRIO 1

TCPIP_THREAD_PRIO: The priority assigned to the main tcpip thread. The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

## ◆ TCPIP_THREAD_STACKSIZE

#define TCPIP_THREAD_STACKSIZE 0

TCPIP_THREAD_STACKSIZE: The stack size used by the main tcpip thread. The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.