lwIP 2.0.0  lwIP 2.0.0
LightweightIPstack
Error codes

Macros

#define ERR_OK   0
 
#define ERR_MEM   -1
 
#define ERR_BUF   -2
 
#define ERR_TIMEOUT   -3
 
#define ERR_RTE   -4
 
#define ERR_INPROGRESS   -5
 
#define ERR_VAL   -6
 
#define ERR_WOULDBLOCK   -7
 
#define ERR_USE   -8
 
#define ERR_ALREADY   -9
 
#define ERR_ISCONN   -10
 
#define ERR_CONN   -11
 
#define ERR_IF   -12
 
#define ERR_ABRT   -13
 
#define ERR_RST   -14
 
#define ERR_CLSD   -15
 
#define ERR_ARG   -16
 

Typedefs

typedef s8_t err_t
 

Detailed Description

Macro Definition Documentation

#define ERR_ABRT   -13

Connection aborted.

#define ERR_ALREADY   -9

Already connecting.

#define ERR_ARG   -16

Illegal argument.

#define ERR_BUF   -2

Buffer error.

#define ERR_CLSD   -15

Connection closed.

#define ERR_CONN   -11

Not connected.

#define ERR_IF   -12

Low-level netif error

#define ERR_INPROGRESS   -5

Operation in progress

#define ERR_ISCONN   -10

Conn already established.

#define ERR_MEM   -1

Out of memory error.

#define ERR_OK   0

No error, everything OK.

#define ERR_RST   -14

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.

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