Documentation

Documentation

Includes

lwip/opt.h

#include "lwip/opt.h"
#include "lwip/opt.h"

lwip/arch.h

#include "lwip/arch.h"
#include "lwip/arch.h"

Macros

Marco LWIP_HDR_ERR_H

#define LWIP_HDR_ERR_H


      

Marco lwip_strerr(x)

#define lwip_strerr(x) ""

      

Functions

Func err_to_errno

int err_to_errno(err_t err);

      

Vars

Consts

Types

Typedefs

Typedef err_enum_t;

typedef enum {
/** No error, everything OK. */
 ERR_OK        = 0,
/** Out of memory error.     */
 ERR_MEM       = -1,
/** Buffer error.            */
 ERR_BUF       = -2,
/** Timeout.                 */
 ERR_TIMEOUT   = -3,
/** Routing problem.         */
 ERR_RTE       = -4,
/** Operation in progress    */
 ERR_INPROGRESS = -5,
/** Illegal value.           */
 ERR_VAL       = -6,
/** Operation would block.   */
 ERR_WOULDBLOCK = -7,
/** Address in use.          */
 ERR_USE       = -8,
/** Already connecting.      */
 ERR_ALREADY   = -9,
/** Conn already established.*/
 ERR_ISCONN    = -10,
/** Not connected.           */
 ERR_CONN      = -11,
/** Low-level netif error    */
 ERR_IF        = -12,

/** Connection aborted.      */
 ERR_ABRT      = -13,
/** Connection reset.        */
 ERR_RST       = -14,
/** Connection closed.       */
 ERR_CLSD      = -15,
/** Illegal argument.        */
 ERR_ARG       = -16
} err_enum_t;
/** Definitions for error constants. */

Typedef err_t

typedef LWIP_ERR_T err_t;
#else /* LWIP_ERR_T */
typedef s8_t err_t;