Home
last modified time | relevance | path

Searched refs:recvmbox (Results 1 – 4 of 4) sorted by relevance

/third_party/lwip/src/api/
Dapi_msg.c169 if ((conn != NULL) && NETCONN_MBOX_VALID(conn, &conn->recvmbox)) { in recv_raw()
193 if (sys_mbox_trypost(&conn->recvmbox, buf) != ERR_OK) { in recv_raw()
242 if (!NETCONN_MBOX_VALID(conn, &conn->recvmbox) ||
245 if (!NETCONN_MBOX_VALID(conn, &conn->recvmbox)) {
272 if (sys_mbox_trypost(&conn->recvmbox, buf) != ERR_OK) {
311 if (!NETCONN_MBOX_VALID(conn, &conn->recvmbox)) {
331 if (sys_mbox_trypost(&conn->recvmbox, msg) != ERR_OK) {
466 if (NETCONN_MBOX_VALID(conn, &conn->recvmbox)) {
468 sys_mbox_trypost(&conn->recvmbox, mbox_msg);
589 sys_mbox_free(&newconn->recvmbox);
[all …]
Dapi_lib.c95 #define NETCONN_RECVMBOX_WAITABLE(conn) (sys_mbox_valid(&(conn)->recvmbox) && (((conn)->flags & NET…
100 #define NETCONN_RECVMBOX_WAITABLE(conn) sys_mbox_valid(&(conn)->recvmbox)
164 LWIP_ASSERT("conn has no recvmbox", sys_mbox_valid(&conn->recvmbox)); in netconn_new_with_proto_and_callback()
172 sys_mbox_free(&conn->recvmbox); in netconn_new_with_proto_and_callback()
600 if (sys_arch_mbox_tryfetch(&conn->recvmbox, &buf) == SYS_MBOX_EMPTY) { in netconn_recv_data()
615 if (sys_arch_mbox_fetch(&conn->recvmbox, &buf, conn->recv_timeout) == SYS_ARCH_TIMEOUT) { in netconn_recv_data()
620 sys_arch_mbox_fetch(&conn->recvmbox, &buf, 0); in netconn_recv_data()
/third_party/lwip/src/include/lwip/
Dapi.h238 sys_mbox_t recvmbox; member
/third_party/lwip/
DCHANGELOG2121 window = 0) by correctly draining recvmbox/acceptmbox
2738 in opt.h to indicate sizes for tcpip::mbox, netconn::recvmbox, and for the
3345 * api_msg.c, api_lib.c: fix bug #21656 (recvmbox problem in netconn API): always
3346 allocate a recvmbox in netconn_new_with_proto_and_callback. For a tcp-listen
3347 netconn, this recvmbox is later freed and a new mbox is allocated for acceptmbox.
3606 directly close the recvmbox).