| 45 |
#define ERR_OK 0 /* No error, everything OK. */ |
#define ERR_OK 0 /* No error, everything OK. */ |
| 46 |
#define ERR_MEM -1 /* Out of memory error. */ |
#define ERR_MEM -1 /* Out of memory error. */ |
| 47 |
#define ERR_BUF -2 /* Buffer error. */ |
#define ERR_BUF -2 /* Buffer error. */ |
| 48 |
#define ERR_RTE -3 /* Routing problem. */ |
#define ERR_TIMEOUT -3 /* Timeout. */ |
| 49 |
|
#define ERR_RTE -4 /* Routing problem. */ |
| 50 |
|
|
| 51 |
#define ERR_IS_FATAL(e) ((e) < ERR_RTE) |
#define ERR_IS_FATAL(e) ((e) < ERR_RTE) |
| 52 |
|
|
| 53 |
#define ERR_ABRT -4 /* Connection aborted. */ |
#define ERR_ABRT -5 /* Connection aborted. */ |
| 54 |
#define ERR_RST -5 /* Connection reset. */ |
#define ERR_RST -6 /* Connection reset. */ |
| 55 |
#define ERR_CLSD -6 /* Connection closed. */ |
#define ERR_CLSD -7 /* Connection closed. */ |
| 56 |
#define ERR_CONN -7 /* Not connected. */ |
#define ERR_CONN -8 /* Not connected. */ |
| 57 |
|
|
| 58 |
#define ERR_VAL -8 /* Illegal value. */ |
#define ERR_VAL -9 /* Illegal value. */ |
| 59 |
|
|
| 60 |
#define ERR_ARG -9 /* Illegal argument. */ |
#define ERR_ARG -10 /* Illegal argument. */ |
| 61 |
|
|
| 62 |
#define ERR_USE -10 /* Address in use. */ |
#define ERR_USE -11 /* Address in use. */ |
| 63 |
|
|
| 64 |
#define ERR_IF -11 /* Low-level netif error */ |
#define ERR_IF -12 /* Low-level netif error */ |
| 65 |
#define ERR_ISCONN -12 /* Already connected. */ |
#define ERR_ISCONN -13 /* Already connected. */ |
|
|
|
|
#define ERR_TIMEOUT -13 /* Timeout. */ |
|
| 66 |
|
|
| 67 |
#define ERR_INPROGRESS -14 /* Operation in progress */ |
#define ERR_INPROGRESS -14 /* Operation in progress */ |
| 68 |
|
|