Microchip® Advanced Software Framework

err.h File Reference
#include "lwip/opt.h"
#include "lwip/arch.h"

Macros

#define ERR_ABRT   -10 /* Connection aborted. */
 
#define ERR_ARG   -14 /* Illegal argument. */
 
#define ERR_BUF   -2 /* Buffer error. */
 
#define ERR_CLSD   -12 /* Connection closed. */
 
#define ERR_CONN   -13 /* Not connected. */
 
#define ERR_IF   -15 /* Low-level netif error */
 
#define ERR_INPROGRESS   -5 /* Operation in progress */
 
#define ERR_IS_FATAL(e)   ((e) < ERR_ISCONN)
 
#define ERR_ISCONN   -9 /* Already connected. */
 
#define ERR_MEM   -1 /* Out of memory error. */
 
#define ERR_OK   0 /* No error, everything OK. */
 
#define ERR_RST   -11 /* Connection reset. */
 
#define ERR_RTE   -4 /* Routing problem. */
 
#define ERR_TIMEOUT   -3 /* Timeout. */
 
#define ERR_USE   -8 /* Address in use. */
 
#define ERR_VAL   -6 /* Illegal value. */
 
#define ERR_WOULDBLOCK   -7 /* Operation would block. */
 
#define lwip_strerr(x)   ""
 

Typedefs

typedef s8_t err_t
 Define LWIP_ERR_T in cc.h if you want to use a different type for your platform (must be signed). More...
 

#define ERR_ABRT   -10 /* Connection aborted. */
#define ERR_BUF   -2 /* Buffer error. */
#define ERR_CLSD   -12 /* Connection closed. */
#define ERR_CONN   -13 /* Not connected. */
#define ERR_IF   -15 /* Low-level netif error */
#define ERR_INPROGRESS   -5 /* Operation in progress */
#define ERR_IS_FATAL (   e)    ((e) < ERR_ISCONN)
#define ERR_ISCONN   -9 /* Already connected. */

Referenced by do_connect(), and tcp_connect().

#define ERR_OK   0 /* No error, everything OK. */

Referenced by accept_function(), dhcp_check(), dhcp_create_msg(), dhcp_decline(), dhcp_discover(), dhcp_inform(), dhcp_parse_reply(), dhcp_rebind(), dhcp_reboot(), dhcp_recv(), dhcp_release(), dhcp_renew(), dhcp_select(), dhcp_start(), do_close_internal(), do_connect(), do_connected(), do_disconnect(), do_getaddr(), do_listen(), do_newconn(), do_recv(), do_write(), do_writemore(), etharp_query(), etharp_raw(), ethernet_input(), ethernetif_init(), ethernetif_input(), icmp_input(), ip_frag(), ip_input(), low_level_output(), lwip_accept(), lwip_bind(), lwip_connect(), lwip_getsockopt(), lwip_listen(), lwip_recvfrom(), lwip_select(), lwip_send(), lwip_sendto(), lwip_setsockopt(), lwip_setsockopt_internal(), lwip_shutdown(), mem_init(), netbuf_data(), netbuf_ref(), netconn_accept(), netconn_alloc(), netconn_delete(), netconn_new_with_proto_and_callback(), netconn_recv(), netconn_recv_data(), netconn_write(), netif_add(), pbuf_coalesce(), pbuf_copy(), pbuf_pool_is_empty(), pbuf_take(), poll_tcp(), portTASK_FUNCTION(), prvweb_ParseHTMLRequest(), raw_bind(), raw_connect(), recv_raw(), recv_tcp(), recv_udp(), sent_tcp(), sys_mbox_new(), sys_mbox_trypost(), sys_msleep(), sys_sem_new(), tcp_bind(), tcp_close_shutdown(), tcp_connect(), tcp_enqueue_flags(), tcp_fasttmr(), tcp_input(), tcp_listen_input(), tcp_output(), tcp_process(), tcp_recv_null(), tcp_send_empty_ack(), tcp_send_fin(), tcp_shutdown(), tcp_slowtmr(), tcp_timewait_input(), tcp_write(), tcp_write_checks(), tcpip_callback_with_block(), tcpip_init(), tcpip_input(), tcpip_timeout(), tcpip_untimeout(), udp_bind(), udp_connect(), udp_input(), and update_arp_entry().

#define ERR_RST   -11 /* Connection reset. */

Referenced by tcp_input(), and tcp_process().

#define ERR_RTE   -4 /* Routing problem. */
#define ERR_TIMEOUT   -3 /* Timeout. */
#define ERR_USE   -8 /* Address in use. */

Referenced by tcp_bind(), tcp_connect(), and udp_bind().

#define ERR_WOULDBLOCK   -7 /* Operation would block. */

Referenced by do_writemore().

#define lwip_strerr (   x)    ""

Referenced by lwip_recvfrom().

typedef s8_t err_t

Define LWIP_ERR_T in cc.h if you want to use a different type for your platform (must be signed).