err_t netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) { LWIP_ERROR("netbuf_data: invalid buf", (buf != NULL), return ERR_ARG;); LWIP_ERROR("netbuf_data: invalid dataptr", (dataptr != NULL), return ERR_ARG;); LWIP_ERROR("netbuf_data: invalid len", (len !
ERR_WOULDBLOCK; } } else { //一直等待着远端的连接请求 sys_arch_mbox_fetch(&conn->acceptmbox, &accept_ptr, 0); } /* 触发连接事件的回调函数 */ API_EVENT(conn, NETCONN_EVT_RCVMINUS, 0); if (lwip_netconn_is_err_msg(accept_ptr, &err)) { /* 如果连接错误 */ return err; } if...
*/ // ERR_VAL = -6, case ERR_VAL: psz_err_string = "Illegal value."; break; // /** Operation would block. */ // ERR_WOULDBLOCK = -7, case ERR_WOULDBLOCK: psz_err_string = "Operation would block."; break; // /** Address in use. */ // ERR_USE = -8, case ERR_USE:...
LWIP_ETHERNET to support ethernet without ARP (necessary for pure PPPoE) ++ Bugfixes: 2011-01-24: Simon Goldschmidt * sockets.c: Fixed bug #31741: lwip_select seems to have threading problems 2010-12-02: Simon Goldschmidt * err.h: Fixed ERR_IS_FATAL so that ERR_WOULDBLOCK is not fatal...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
* err.h: Fixed ERR_IS_FATAL so that ERR_WOULDBLOCK is not fatal. 2010-11-23: Simon Goldschmidt * api.h, api_lib.c, api_msg.c, sockets.c: netconn.recv_avail is only used for LWIP_SO_RCVBUF and ioctl/FIONREAD. 2010-11-23: Simon Goldschmidt ...
ERR_WOULDBLOCK; } } else { //一直等待着远端的连接请求 sys_arch_mbox_fetch(&conn->acceptmbox, &accept_ptr, 0); } /* 触发连接事件的回调函数 */ API_EVENT(conn, NETCONN_EVT_RCVMINUS, 0); if (lwip_netconn_is_err_msg(accept_ptr, &err)) { /* 如果连接错误 */ return err; } if...
* err.h: Fixed ERR_IS_FATAL so that ERR_WOULDBLOCK is not fatal. 2010-11-23: Simon Goldschmidt * api.h, api_lib.c, api_msg.c, sockets.c: netconn.recv_avail is only used for LWIP_SO_RCVBUF and ioctl/FIONREAD. 2010-11-23: Simon Goldschmidt ...
* err.h: Fixed ERR_IS_FATAL so that ERR_WOULDBLOCK is not fatal. 2010-11-23: Simon Goldschmidt * api.h, api_lib.c, api_msg.c, sockets.c: netconn.recv_avail is only used for LWIP_SO_RCVBUF and ioctl/FIONREAD. 2010-11-23: Simon Goldschmidt ...