mbed-os for GR-LYCHEE

Dependents:   mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more

Embed: (wiki syntax)

« Back to documentation index

lwip_err.c File Reference

lwip_err.c File Reference

Error Management module. More...

Go to the source code of this file.

Functions

const char * lwip_strerr (err_t err)
 Convert an lwip internal error to a string representation.

Variables

static const int err_to_errno_table []
 Table to quickly map an lwIP error (err_t) to a socket error by using -err as an index.

Detailed Description

Error Management module.

Definition in file lwip_err.c.


Function Documentation

const char* lwip_strerr ( err_t  err )

Convert an lwip internal error to a string representation.

Parameters:
erran lwip internal err_t
Returns:
a string representation for err

Definition at line 107 of file lwip_err.c.


Variable Documentation

const int err_to_errno_table[] [static]
Initial value:
 {
  0,             
  ENOMEM,        
  ENOBUFS,       
  EWOULDBLOCK,   
  EHOSTUNREACH,  
  EINPROGRESS,   
  EINVAL,        
  EWOULDBLOCK,   
  EADDRINUSE,    
  EALREADY,      
  EISCONN,       
  ENOTCONN,      
  -1,            
  ECONNABORTED,  
  ECONNRESET,    
  ENOTCONN,      
  EIO            
}

Table to quickly map an lwIP error (err_t) to a socket error by using -err as an index.

Definition at line 48 of file lwip_err.c.