lwIP 2.1.1 Lightweight IP stack

Modules | Macros
Debug messages
lwIP » Options (lwipopts.h) » Debugging

## Modules
| LWIP_DBG_MIN_LEVEL and LWIP_DBG_TYPES_ON values

## Macros
#define | LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
#define | LWIP_DBG_TYPES_ON LWIP_DBG_ON
#define | ETHARP_DEBUG LWIP_DBG_OFF
#define | NETIF_DEBUG LWIP_DBG_OFF
#define | PBUF_DEBUG LWIP_DBG_OFF
#define | API_LIB_DEBUG LWIP_DBG_OFF
#define | API_MSG_DEBUG LWIP_DBG_OFF
#define | SOCKETS_DEBUG LWIP_DBG_OFF
#define | ICMP_DEBUG LWIP_DBG_OFF
#define | IGMP_DEBUG LWIP_DBG_OFF
#define | INET_DEBUG LWIP_DBG_OFF
#define | IP_DEBUG LWIP_DBG_OFF
#define | IP_REASS_DEBUG LWIP_DBG_OFF
#define | RAW_DEBUG LWIP_DBG_OFF
#define | MEM_DEBUG LWIP_DBG_OFF
#define | MEMP_DEBUG LWIP_DBG_OFF
#define | SYS_DEBUG LWIP_DBG_OFF
#define | TIMERS_DEBUG LWIP_DBG_OFF
#define | TCP_DEBUG LWIP_DBG_OFF
#define | TCP_INPUT_DEBUG LWIP_DBG_OFF
#define | TCP_FR_DEBUG LWIP_DBG_OFF
#define | TCP_RTO_DEBUG LWIP_DBG_OFF
#define | TCP_CWND_DEBUG LWIP_DBG_OFF
#define | TCP_WND_DEBUG LWIP_DBG_OFF
#define | TCP_OUTPUT_DEBUG LWIP_DBG_OFF
#define | TCP_RST_DEBUG LWIP_DBG_OFF
#define | TCP_QLEN_DEBUG LWIP_DBG_OFF
#define | UDP_DEBUG LWIP_DBG_OFF
#define | TCPIP_DEBUG LWIP_DBG_OFF
#define | SLIP_DEBUG LWIP_DBG_OFF
#define | DHCP_DEBUG LWIP_DBG_OFF
#define | AUTOIP_DEBUG LWIP_DBG_OFF
#define | DNS_DEBUG LWIP_DBG_OFF
#define | IP6_DEBUG LWIP_DBG_OFF
#define | DHCP6_DEBUG LWIP_DBG_OFF

## Detailed Description

## Macro Definition Documentation

## ◆ API_LIB_DEBUG

#define API_LIB_DEBUG LWIP_DBG_OFF

API_LIB_DEBUG: Enable debugging in api_lib.c.

## ◆ API_MSG_DEBUG

#define API_MSG_DEBUG LWIP_DBG_OFF

API_MSG_DEBUG: Enable debugging in api_msg.c.

## ◆ AUTOIP_DEBUG

#define AUTOIP_DEBUG LWIP_DBG_OFF

AUTOIP_DEBUG: Enable debugging in autoip.c.

## ◆ DHCP6_DEBUG

#define DHCP6_DEBUG LWIP_DBG_OFF

DHCP6_DEBUG: Enable debugging in dhcp6.c.

## ◆ DHCP_DEBUG

#define DHCP_DEBUG LWIP_DBG_OFF

DHCP_DEBUG: Enable debugging in dhcp.c.

## ◆ DNS_DEBUG

#define DNS_DEBUG LWIP_DBG_OFF

DNS_DEBUG: Enable debugging for DNS.

## ◆ ETHARP_DEBUG

#define ETHARP_DEBUG LWIP_DBG_OFF

ETHARP_DEBUG: Enable debugging in etharp.c.

## ◆ ICMP_DEBUG

#define ICMP_DEBUG LWIP_DBG_OFF

ICMP_DEBUG: Enable debugging in icmp.c.

## ◆ IGMP_DEBUG

#define IGMP_DEBUG LWIP_DBG_OFF

IGMP_DEBUG: Enable debugging in igmp.c.

## ◆ INET_DEBUG

#define INET_DEBUG LWIP_DBG_OFF

INET_DEBUG: Enable debugging in inet.c.

## ◆ IP6_DEBUG

#define IP6_DEBUG LWIP_DBG_OFF

IP6_DEBUG: Enable debugging for IPv6.

## ◆ IP_DEBUG

#define IP_DEBUG LWIP_DBG_OFF

IP_DEBUG: Enable debugging for IP.

## ◆ IP_REASS_DEBUG

#define IP_REASS_DEBUG LWIP_DBG_OFF

IP_REASS_DEBUG: Enable debugging in ip_frag.c for both frag & reass.

## ◆ LWIP_DBG_MIN_LEVEL

#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL

LWIP_DBG_MIN_LEVEL: After masking, the value of the debug is compared against this value. If it is smaller, then debugging messages are written.

See also
  LWIP_DBG_MIN_LEVEL and LWIP_DBG_TYPES_ON values

## ◆ LWIP_DBG_TYPES_ON

#define LWIP_DBG_TYPES_ON LWIP_DBG_ON

LWIP_DBG_TYPES_ON: A mask that can be used to globally enable/disable debug messages of certain types.

See also
  LWIP_DBG_MIN_LEVEL and LWIP_DBG_TYPES_ON values

## ◆ MEM_DEBUG

#define MEM_DEBUG LWIP_DBG_OFF

MEM_DEBUG: Enable debugging in mem.c.

## ◆ MEMP_DEBUG

#define MEMP_DEBUG LWIP_DBG_OFF

MEMP_DEBUG: Enable debugging in memp.c.

## ◆ NETIF_DEBUG

#define NETIF_DEBUG LWIP_DBG_OFF

NETIF_DEBUG: Enable debugging in netif.c.

## ◆ PBUF_DEBUG

#define PBUF_DEBUG LWIP_DBG_OFF

PBUF_DEBUG: Enable debugging in pbuf.c.

## ◆ RAW_DEBUG

#define RAW_DEBUG LWIP_DBG_OFF

RAW_DEBUG: Enable debugging in raw.c.

## ◆ SLIP_DEBUG

#define SLIP_DEBUG LWIP_DBG_OFF

SLIP_DEBUG: Enable debugging in slipif.c.

## ◆ SOCKETS_DEBUG

#define SOCKETS_DEBUG LWIP_DBG_OFF

SOCKETS_DEBUG: Enable debugging in sockets.c.

## ◆ SYS_DEBUG

#define SYS_DEBUG LWIP_DBG_OFF

SYS_DEBUG: Enable debugging in sys.c.

## ◆ TCP_CWND_DEBUG

#define TCP_CWND_DEBUG LWIP_DBG_OFF

TCP_CWND_DEBUG: Enable debugging for TCP congestion window.

## ◆ TCP_DEBUG

#define TCP_DEBUG LWIP_DBG_OFF

TCP_DEBUG: Enable debugging for TCP.

## ◆ TCP_FR_DEBUG

#define TCP_FR_DEBUG LWIP_DBG_OFF

TCP_FR_DEBUG: Enable debugging in tcp_in.c for fast retransmit.

## ◆ TCP_INPUT_DEBUG

#define TCP_INPUT_DEBUG LWIP_DBG_OFF

TCP_INPUT_DEBUG: Enable debugging in tcp_in.c for incoming debug.

## ◆ TCP_OUTPUT_DEBUG

#define TCP_OUTPUT_DEBUG LWIP_DBG_OFF

TCP_OUTPUT_DEBUG: Enable debugging in tcp_out.c output functions.

## ◆ TCP_QLEN_DEBUG

#define TCP_QLEN_DEBUG LWIP_DBG_OFF

TCP_QLEN_DEBUG: Enable debugging for TCP queue lengths.

## ◆ TCP_RST_DEBUG

#define TCP_RST_DEBUG LWIP_DBG_OFF

TCP_RST_DEBUG: Enable debugging for TCP with the RST message.

## ◆ TCP_RTO_DEBUG

#define TCP_RTO_DEBUG LWIP_DBG_OFF

TCP_RTO_DEBUG: Enable debugging in TCP for retransmit timeout.

## ◆ TCP_WND_DEBUG

#define TCP_WND_DEBUG LWIP_DBG_OFF

TCP_WND_DEBUG: Enable debugging in tcp_in.c for window updating.

## ◆ TCPIP_DEBUG

#define TCPIP_DEBUG LWIP_DBG_OFF

TCPIP_DEBUG: Enable debugging in tcpip.c.

## ◆ TIMERS_DEBUG

#define TIMERS_DEBUG LWIP_DBG_OFF

TIMERS_DEBUG: Enable debugging in timers.c.

## ◆ UDP_DEBUG

#define UDP_DEBUG LWIP_DBG_OFF

UDP_DEBUG: Enable debugging in UDP.