|
lwIP 2.0.0
lwIP 2.0.0
LightweightIPstack
|
Macros | |
| #define | LWIP_DBG_LEVEL_ALL 0x00 |
| #define | LWIP_DBG_ON 0x80U |
| #define | LWIP_DBG_OFF 0x00U |
| #define | LWIP_DBG_TRACE 0x40U |
| #define | LWIP_DBG_STATE 0x20U |
| #define | LWIP_DBG_FRESH 0x10U |
| #define | LWIP_DBG_HALT 0x08U |
| #define | LWIP_ASSERT(message, assertion) |
| #define | LWIP_DEBUGF(debug, message) |
Debug messages infrastructure
| #define LWIP_ASSERT | ( | message, | |
| assertion | |||
| ) |
LWIP_NOASSERT: Disable LWIP_ASSERT checks. – To disable assertions define LWIP_NOASSERT in arch/cc.h.
| #define LWIP_DBG_FRESH 0x10U |
flag for LWIP_DEBUGF indicating newly added code, not thoroughly tested yet
| #define LWIP_DBG_HALT 0x08U |
flag for LWIP_DEBUGF to halt after printing this debug message
| #define LWIP_DBG_LEVEL_ALL 0x00 |
lower two bits indicate debug level
| #define LWIP_DBG_OFF 0x00U |
flag for LWIP_DEBUGF to disable that debug message
| #define LWIP_DBG_ON 0x80U |
flag for LWIP_DEBUGF to enable that debug message
| #define LWIP_DBG_STATE 0x20U |
flag for LWIP_DEBUGF indicating a state debug message (to follow module states)
| #define LWIP_DBG_TRACE 0x40U |
flag for LWIP_DEBUGF indicating a tracing message (to follow program flow)
| #define LWIP_DEBUGF | ( | debug, | |
| message | |||
| ) |
if "expression" isn't true, then print "message" and execute "handler" expression