Microchip® Advanced Software Framework

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

Macros

#define ERR_ABRT   -11 /* Connection aborted. */
 
#define ERR_ARG   -14 /* Illegal argument. */
 
#define ERR_BUF   -2 /* Buffer error. */
 
#define ERR_CLSD   -13 /* Connection closed. */
 
#define ERR_CONN   -10 /* 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_IS_FATAL_LISTENCONNECT(e)   ((e) < ERR_CONN)
 
#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   -12 /* 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   -11 /* Connection aborted. */
#define ERR_CLSD   -13 /* Connection closed. */
#define ERR_IF   -15 /* Low-level netif error */

Referenced by netif_null_output_ip6().

#define ERR_IS_FATAL_LISTENCONNECT (   e)    ((e) < ERR_CONN)

Referenced by lwip_netconn_do_listen().

#define ERR_ISCONN   -9 /* Already connected. */
#define ERR_OK   0 /* No error, everything OK. */

Referenced by accept_function(), autoip_bind(), autoip_start(), autoip_stop(), 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(), dns_alloc_random_port(), dns_check_entry(), dns_gethostbyname(), etharp_output_to_arp_index(), etharp_query(), etharp_raw(), etharp_tmr(), etharp_update_arp_entry(), ethernet_input(), icmp6_input(), icmp_input(), ip6_input(), ip6_options_add_hbh_ra(), ip_frag(), ip_input(), iperf_tcp_client_task(), iperf_tcp_recv(), iperf_tcp_send(), iperf_tcp_task(), iperf_udp_recv(), iperf_udp_task(), lwip_dhcp_server_fn(), lwip_netconn_do_close_internal(), lwip_netconn_do_connect(), lwip_netconn_do_connected(), lwip_netconn_do_delconn(), lwip_netconn_do_disconnect(), lwip_netconn_do_dns_found(), lwip_netconn_do_getaddr(), lwip_netconn_do_listen(), lwip_netconn_do_newconn(), lwip_netconn_do_recv(), lwip_netconn_do_write(), lwip_netconn_do_writemore(), mld6_free_group(), mld6_joingroup(), mld6_leavegroup(), mld6_stop(), nd6_queue_packet(), netbuf_data(), netbuf_ref(), netconn_accept(), netconn_alloc(), netconn_delete(), netconn_gethostbyname(), netconn_new_with_proto_and_callback(), netconn_recv(), netconn_recv_data(), netconn_write_partly(), netif_add(), pbuf_coalesce(), pbuf_copy(), pbuf_take(), pbuf_take_at(), pbuf_take_partial(), pbuf_write16be(), pbuf_write32be(), pbuf_write32le(), pbuf_write8(), poll_tcp(), 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_input(), tcp_listen_input(), tcp_output(), tcp_process(), tcp_process_refused_data(), 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(), wilc_netif_init(), wilc_netif_rx_callback(), and wilc_netif_tx().

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

Referenced by tcp_input(), and tcp_process().

#define ERR_TIMEOUT   -3 /* Timeout. */
#define ERR_USE   -8 /* Address in use. */
#define ERR_WOULDBLOCK   -7 /* Operation would block. */
#define lwip_strerr (   x)    ""

Referenced by dns_check_entry().

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).