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. */

Referenced by http_poll().

#define ERR_ARG   -14 /* Illegal argument. */

Referenced by pbuf_copy(), and pbuf_take().

#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_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)    ""

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