Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

debug.h File Reference

#include "arch/cc.h"

Include dependency graph for debug.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DBG_LEVEL_OFF   0
#define DBG_LEVEL_WARNING   1
#define DBG_LEVEL_SERIOUS   2
#define DBG_LEVEL_SEVERE   3
#define DBG_MASK_LEVEL   3
#define DBG_ON   0x80U
#define DBG_OFF   0x00U
#define DBG_TRACE   0x40U
#define DBG_STATE   0x20U
#define DBG_FRESH   0x10U
#define DBG_HALT   0x08U
#define LWIP_ASSERT(x, y)
#define DEBUGF(debug, x)
#define LWIP_ERROR(x)


Define Documentation

#define DBG_FRESH   0x10U
 

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

Definition at line 67 of file debug.h.

Referenced by pbuf_chain().

#define DBG_HALT   0x08U
 

flag for DEBUGF to halt after printing this debug message

Definition at line 69 of file debug.h.

#define DBG_LEVEL_OFF   0
 

lower two bits indicate debug level

  • 0 off
  • 1 warning
  • 2 serious
  • 3 severe

Definition at line 51 of file debug.h.

#define DBG_LEVEL_SERIOUS   2
 

Definition at line 53 of file debug.h.

#define DBG_LEVEL_SEVERE   3
 

Definition at line 54 of file debug.h.

#define DBG_LEVEL_WARNING   1
 

Definition at line 52 of file debug.h.

#define DBG_MASK_LEVEL   3
 

Definition at line 55 of file debug.h.

#define DBG_OFF   0x00U
 

flag for DEBUGF to disable that debug message

Definition at line 60 of file debug.h.

#define DBG_ON   0x80U
 

flag for DEBUGF to enable that debug message

Definition at line 58 of file debug.h.

#define DBG_STATE   0x20U
 

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

Definition at line 65 of file debug.h.

Referenced by dhcp_bind(), dhcp_check(), dhcp_coarse_tmr(), dhcp_discover(), dhcp_fine_tmr(), dhcp_handle_nak(), dhcp_handle_offer(), dhcp_inform(), dhcp_rebind(), dhcp_release(), dhcp_renew(), dhcp_select(), dhcp_start(), dhcp_t1_timeout(), dhcp_t2_timeout(), dhcp_timeout(), etharp_query(), netif_set_gw(), netif_set_ipaddr(), netif_set_netmask(), pbuf_dechain(), and update_arp_entry().

#define DBG_TRACE   0x40U
 

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

Definition at line 63 of file debug.h.

Referenced by dhcp_bind(), dhcp_check(), dhcp_coarse_tmr(), dhcp_create_request(), dhcp_discover(), dhcp_fine_tmr(), dhcp_get_option_ptr(), dhcp_handle_nak(), dhcp_inform(), dhcp_rebind(), dhcp_recv(), dhcp_release(), dhcp_renew(), dhcp_select(), dhcp_start(), dhcp_stop(), dhcp_t1_timeout(), dhcp_t2_timeout(), dhcp_timeout(), dhcp_unfold_reply(), etharp_arp_input(), etharp_ip_input(), etharp_output(), etharp_query(), ip_input(), netif_set_gw(), netif_set_ipaddr(), netif_set_netmask(), pbuf_alloc(), pbuf_free(), pbuf_take(), and update_arp_entry().

#define DEBUGF debug,
 ) 
 

Definition at line 80 of file debug.h.

Referenced by dhcp_bind(), dhcp_check(), dhcp_coarse_tmr(), dhcp_create_request(), dhcp_discover(), dhcp_fine_tmr(), dhcp_free_reply(), dhcp_get_option_byte(), dhcp_get_option_long(), dhcp_get_option_ptr(), dhcp_get_option_short(), dhcp_handle_nak(), dhcp_handle_offer(), dhcp_inform(), dhcp_rebind(), dhcp_recv(), dhcp_release(), dhcp_renew(), dhcp_select(), dhcp_start(), dhcp_stop(), dhcp_t1_timeout(), dhcp_t2_timeout(), dhcp_timeout(), dhcp_unfold_reply(), do_accept(), do_listen(), etharp_arp_input(), etharp_ip_input(), etharp_output(), etharp_query(), etharp_tmr(), find_arp_entry(), get_socket(), icmp_input(), icmp_time_exceeded(), inet_chksum_pseudo(), ip_forward(), ip_input(), ip_output(), ip_output_if(), ip_reass(), lwip_accept(), lwip_bind(), lwip_chksum(), lwip_close(), lwip_connect(), lwip_getpeername(), lwip_getsockname(), lwip_getsockopt(), lwip_ioctl(), lwip_listen(), lwip_recvfrom(), lwip_select(), lwip_selscan(), lwip_send(), lwip_sendto(), lwip_setsockopt(), lwip_shutdown(), lwip_socket(), mem_free(), mem_malloc(), mem_realloc(), memp_malloc(), netconn_recv(), netconn_send(), netconn_write(), netif_add(), netif_find(), netif_remove(), netif_set_default(), netif_set_gw(), netif_set_ipaddr(), netif_set_netmask(), pbuf_alloc(), pbuf_chain(), pbuf_dechain(), pbuf_free(), pbuf_header(), pbuf_take(), slipif_init(), slipif_input(), tcpip_thread(), and update_arp_entry().

#define LWIP_ASSERT x,
 ) 
 

Definition at line 79 of file debug.h.

Referenced by dhcp_create_request(), dhcp_delete_request(), dhcp_option(), dhcp_option_byte(), dhcp_option_long(), dhcp_option_short(), dhcp_option_trailer(), dhcp_start(), mem_free(), mem_malloc(), mem_realloc(), memp_free(), memp_malloc(), pbuf_alloc(), pbuf_chain(), pbuf_dechain(), pbuf_free(), pbuf_init(), pbuf_realloc(), pbuf_take(), plug_holes(), and update_arp_entry().

#define LWIP_ERROR  ) 
 

Definition at line 81 of file debug.h.


Generated on Wed Jan 14 12:59:02 2004 for RTL-lwIP-0.4 by doxygen 1.3.4