#include "lwip/arch.h"
Macros | |
#define | LWIP_ASSERT(message, assertion) |
#define | LWIP_DBG_FRESH 0x10U |
flag for LWIP_DEBUGF indicating newly added code, not thoroughly tested yet More... | |
#define | LWIP_DBG_HALT 0x08U |
flag for LWIP_DEBUGF to halt after printing this debug message More... | |
#define | LWIP_DBG_LEVEL_ALL 0x00 |
lower two bits indicate debug level More... | |
#define | LWIP_DBG_LEVEL_OFF LWIP_DBG_LEVEL_ALL /* compatibility define only */ |
#define | LWIP_DBG_LEVEL_SERIOUS 0x02 /* memory allocation failures, ... */ |
#define | LWIP_DBG_LEVEL_SEVERE 0x03 |
#define | LWIP_DBG_LEVEL_WARNING 0x01 /* bad checksums, dropped packets, ... */ |
#define | LWIP_DBG_MASK_LEVEL 0x03 |
#define | LWIP_DBG_OFF 0x00U |
flag for LWIP_DEBUGF to disable that debug message More... | |
#define | LWIP_DBG_ON 0x80U |
flag for LWIP_DEBUGF to enable that debug message More... | |
#define | LWIP_DBG_STATE 0x20U |
flag for LWIP_DEBUGF indicating a state debug message (to follow module states) More... | |
#define | LWIP_DBG_TRACE 0x40U |
flag for LWIP_DEBUGF indicating a tracing message (to follow program flow) More... | |
#define | LWIP_DEBUGF(debug, message) |
#define | LWIP_ERROR(message, expression, handler) |
if "expression" isn't true, then print "message" and execute "handler" expression More... | |
#define LWIP_ASSERT | ( | message, | |
assertion | |||
) |
Referenced by do_close(), do_close_internal(), do_connected(), do_delconn(), do_getaddr(), do_write(), do_writemore(), err_tcp(), etharp_arp_input(), etharp_find_addr(), etharp_query(), etharp_raw(), etharp_send_ip(), ethernet_input(), ethernetif_init(), event_callback(), find_entry(), icmp_input(), icmp_send_response(), if(), inet_chksum_pseudo_partial(), ip_frag(), ip_frag_free_pbuf_custom_ref(), ip_output(), ipaddr_aton(), ipfrag_free_pbuf_custom(), lwip_accept(), lwip_close(), lwip_getsockopt_internal(), lwip_recvfrom(), lwip_select(), lwip_selscan(), lwip_sendto(), lwip_setsockopt_internal(), mem_free(), mem_init(), mem_malloc(), mem_trim(), memp_free(), netbuf_alloc(), netconn_alloc(), netconn_free(), netconn_new_with_proto_and_callback(), netconn_recv(), netconn_recv_data(), netif_add(), pbuf_alloc(), pbuf_alloced_custom(), pbuf_cat(), pbuf_coalesce(), pbuf_copy(), pbuf_dechain(), pbuf_free(), pbuf_header(), pbuf_realloc(), pbuf_take(), pcb_new(), plug_holes(), poll_tcp(), recv_tcp(), sent_tcp(), tcp_abandon(), tcp_close_shutdown(), tcp_create_segment(), tcp_enqueue_flags(), tcp_input(), tcp_output(), tcp_output_alloc_header(), tcp_output_segment(), tcp_pbuf_prealloc(), tcp_pcb_purge(), tcp_pcb_remove(), tcp_pcbs_sane(), tcp_process(), tcp_receive(), tcp_recved(), tcp_rst(), tcp_slowtmr(), tcp_update_rcv_ann_wnd(), tcp_write(), tcp_write_checks(), tcpip_init(), tcpip_thread(), and update_arp_entry().
#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_LEVEL_OFF LWIP_DBG_LEVEL_ALL /* compatibility define only */ |
#define LWIP_DBG_LEVEL_SERIOUS 0x02 /* memory allocation failures, ... */ |
Referenced by etharp_output(), etharp_raw(), ip_input(), ip_route(), mem_free(), mem_malloc(), pbuf_alloc(), pbuf_free(), and pbuf_header().
#define LWIP_DBG_LEVEL_SEVERE 0x03 |
Referenced by mem_free(), mem_trim(), and tcp_write_checks().
#define LWIP_DBG_LEVEL_WARNING 0x01 /* bad checksums, dropped packets, ... */ |
Referenced by etharp_arp_input(), ip_input(), pbuf_alloced_custom(), and tcp_output_segment().
#define LWIP_DBG_MASK_LEVEL 0x03 |
#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)
Referenced by netif_set_gw(), netif_set_ipaddr(), netif_set_netmask(), tcp_write(), and tcp_write_checks().
#define LWIP_DBG_TRACE 0x40U |
flag for LWIP_DEBUGF indicating a tracing message (to follow program flow)
Referenced by etharp_arp_input(), etharp_output(), etharp_query(), etharp_raw(), etharp_request(), etharp_send_ip(), ethernet_input(), find_entry(), ip_input(), mem_free(), netif_set_gw(), netif_set_ipaddr(), netif_set_netmask(), pbuf_alloc(), pbuf_alloced_custom(), pbuf_chain(), pbuf_copy(), pbuf_dechain(), pbuf_free(), pbuf_free_ooseq(), pbuf_header(), tcp_enqueue_flags(), tcp_write(), and update_arp_entry().
#define LWIP_DEBUGF | ( | debug, | |
message | |||
) |
Referenced by accept_function(), arp_timer(), etharp_arp_input(), etharp_output(), etharp_query(), etharp_raw(), etharp_request(), etharp_send_ip(), etharp_tmr(), ethernet_input(), find_entry(), free_entry(), get_socket(), icmp_input(), icmp_send_response(), inet_chksum_pseudo(), inet_chksum_pseudo_partial(), ip_frag(), ip_input(), ip_output(), ip_route(), lwip_accept(), lwip_bind(), lwip_close(), lwip_connect(), lwip_fcntl(), lwip_getaddrname(), lwip_getsockopt(), lwip_getsockopt_internal(), lwip_ioctl(), lwip_listen(), lwip_recvfrom(), lwip_select(), lwip_selscan(), lwip_send(), lwip_sendto(), lwip_setsockopt(), lwip_setsockopt_internal(), lwip_shutdown(), lwip_socket(), mem_free(), mem_malloc(), mem_trim(), netconn_recv_data(), netconn_send(), netif_add(), netif_find(), netif_remove(), netif_set_default(), netif_set_gw(), netif_set_ipaddr(), netif_set_netmask(), pbuf_alloc(), pbuf_alloced_custom(), pbuf_chain(), pbuf_copy(), pbuf_dechain(), pbuf_free(), pbuf_free_ooseq(), pbuf_header(), tcp_abandon(), tcp_alloc(), tcp_bind(), tcp_close(), tcp_connect(), tcp_create_segment(), tcp_debug_print(), tcp_debug_print_flags(), tcp_debug_print_pcbs(), tcp_debug_print_state(), tcp_enqueue_flags(), tcp_fasttmr(), tcp_input(), tcp_keepalive(), tcp_kill_prio(), tcp_kill_timewait(), tcp_listen_input(), tcp_output(), tcp_output_segment(), tcp_parseopt(), tcp_pcb_purge(), tcp_process(), tcp_receive(), tcp_recved(), tcp_rexmit_fast(), tcp_rst(), tcp_send_empty_ack(), tcp_slowtmr(), tcp_write(), tcp_write_checks(), tcp_zero_window_probe(), tcpip_input(), tcpip_thread(), and update_arp_entry().
#define LWIP_ERROR | ( | message, | |
expression, | |||
handler | |||
) |
if "expression" isn't true, then print "message" and execute "handler" expression