uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
err.h File Reference
#include "lwip/opt.h"
#include "lwip/arch.h"

Go to the source code of this file.

Macros

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

Typedefs

typedef s8_t err_t
 

Macro Definition Documentation

#define ERR_ABRT   -8 /* Connection aborted. */

Definition at line 63 of file err.h.

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

Definition at line 68 of file err.h.

#define ERR_BUF   -2 /* Buffer error. */

Definition at line 54 of file err.h.

#define ERR_CLSD   -10 /* Connection closed. */

Definition at line 65 of file err.h.

#define ERR_CONN   -11 /* Not connected. */

Definition at line 66 of file err.h.

#define ERR_IF   -14 /* Low-level netif error */

Definition at line 72 of file err.h.

#define ERR_INPROGRESS   -5 /* Operation in progress */

Definition at line 57 of file err.h.

#define ERR_IS_FATAL (   e)    ((e) < ERR_WOULDBLOCK)

Definition at line 61 of file err.h.

#define ERR_ISCONN   -15 /* Already connected. */

Definition at line 73 of file err.h.

#define ERR_MEM   -1 /* Out of memory error. */

Definition at line 53 of file err.h.

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

Definition at line 52 of file err.h.

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

Definition at line 64 of file err.h.

#define ERR_RTE   -4 /* Routing problem. */

Definition at line 56 of file err.h.

#define ERR_TIMEOUT   -3 /* Timeout. */

Definition at line 55 of file err.h.

#define ERR_USE   -13 /* Address in use. */

Definition at line 70 of file err.h.

#define ERR_VAL   -6 /* Illegal value. */

Definition at line 58 of file err.h.

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

Definition at line 59 of file err.h.

#define lwip_strerr (   x)    ""

Definition at line 79 of file err.h.

Typedef Documentation

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

Definition at line 47 of file err.h.