The Pedigree Project  0.1
Macros
LWIP_DBG_MIN_LEVEL and LWIP_DBG_TYPES_ON values
+ Collaboration diagram for LWIP_DBG_MIN_LEVEL and LWIP_DBG_TYPES_ON values:

Macros

#define LWIP_DBG_MASK_LEVEL   0x03
 
#define LWIP_DBG_LEVEL_OFF   LWIP_DBG_LEVEL_ALL
 

Debug level (LWIP_DBG_MIN_LEVEL)

#define LWIP_DBG_LEVEL_ALL   0x00
 
#define LWIP_DBG_LEVEL_WARNING   0x01
 
#define LWIP_DBG_LEVEL_SERIOUS   0x02
 
#define LWIP_DBG_LEVEL_SEVERE   0x03
 

Enable/disable debug messages completely (LWIP_DBG_TYPES_ON)

#define LWIP_DBG_ON   0x80U
 
#define LWIP_DBG_OFF   0x00U
 

Debug message types (LWIP_DBG_TYPES_ON)

#define LWIP_DBG_TRACE   0x40U
 
#define LWIP_DBG_STATE   0x20U
 
#define LWIP_DBG_FRESH   0x10U
 
#define LWIP_DBG_HALT   0x08U
 

Detailed Description

Macro Definition Documentation

#define LWIP_DBG_FRESH   0x10U

flag for LWIP_DEBUGF indicating newly added code, not thoroughly tested yet

Definition at line 106 of file modules/system/lwip/include/lwip/debug.h.

#define LWIP_DBG_HALT   0x08U

flag for LWIP_DEBUGF to halt after printing this debug message

Definition at line 108 of file modules/system/lwip/include/lwip/debug.h.

#define LWIP_DBG_LEVEL_ALL   0x00

Debug level: ALL messages

Definition at line 72 of file modules/system/lwip/include/lwip/debug.h.

#define LWIP_DBG_LEVEL_SERIOUS   0x02

Debug level: Serious. memory allocation failures, ...

Definition at line 76 of file modules/system/lwip/include/lwip/debug.h.

Referenced by mem_free(), mem_malloc(), memp_init(), pbuf_alloc(), and pbuf_free().

#define LWIP_DBG_LEVEL_SEVERE   0x03

Debug level: Severe

Definition at line 78 of file modules/system/lwip/include/lwip/debug.h.

Referenced by mem_free(), and mem_trim().

#define LWIP_DBG_LEVEL_WARNING   0x01

Debug level: Warnings. bad checksums, dropped packets, ...

Definition at line 74 of file modules/system/lwip/include/lwip/debug.h.

Referenced by pbuf_alloc().

#define LWIP_DBG_OFF   0x00U

flag for LWIP_DEBUGF to disable that debug message

Definition at line 93 of file modules/system/lwip/include/lwip/debug.h.

#define LWIP_DBG_ON   0x80U

flag for LWIP_DEBUGF to enable that debug message

Definition at line 91 of file modules/system/lwip/include/lwip/debug.h.

#define LWIP_DBG_STATE   0x20U

flag for LWIP_DEBUGF indicating a state debug message (to follow module states)

Definition at line 104 of file modules/system/lwip/include/lwip/debug.h.

Referenced by netif_find(), and netif_set_link_down().

#define LWIP_DBG_TRACE   0x40U

flag for LWIP_DEBUGF indicating a tracing message (to follow program flow)

Definition at line 102 of file modules/system/lwip/include/lwip/debug.h.

Referenced by mem_free(), netif_find(), netif_set_link_down(), pbuf_alloc(), pbuf_chain(), pbuf_copy(), pbuf_dechain(), pbuf_free(), and pbuf_realloc().