Home
last modified time | relevance | path

Searched refs:recv_avail (Results 1 – 5 of 5) sorted by relevance

/third_party/lwip/src/api/
Dapi_msg.c171 int recv_avail; in recv_raw() local
172 SYS_ARCH_GET(conn->recv_avail, recv_avail); in recv_raw()
173 if ((recv_avail + (int)(p->tot_len)) > conn->recv_bufsize) { in recv_raw()
198 SYS_ARCH_INC(conn->recv_avail, len); in recv_raw()
225 int recv_avail; local
241 SYS_ARCH_GET(conn->recv_avail, recv_avail);
243 ((recv_avail + (int)(p->tot_len)) > conn->recv_bufsize)) {
277 SYS_ARCH_INC(conn->recv_avail, len);
336 SYS_ARCH_INC(conn->recv_avail, len);
824 conn->recv_avail = 0;
Dsockets.c3833 int recv_avail; in lwip_ioctl() local
3871 SYS_ARCH_GET(sock->conn->recv_avail, recv_avail); in lwip_ioctl()
3872 if (recv_avail < 0) { in lwip_ioctl()
3873 recv_avail = 0; in lwip_ioctl()
3879 recv_avail += sock->lastdata.pbuf->tot_len; in lwip_ioctl()
3881 recv_avail += sock->lastdata.netbuf->p->tot_len; in lwip_ioctl()
3884 *((int *)argp) = recv_avail; in lwip_ioctl()
Dapi_lib.c663 SYS_ARCH_DEC(conn->recv_avail, len); in netconn_recv_data()
/third_party/lwip/src/include/lwip/
Dapi.h270 int recv_avail; member
/third_party/lwip/
DCHANGELOG1109 * api.h, sockets.c: fixed bug #41499 netconn::recv_avail can overflow
1804 * api.h, api_lib.c, api_msg.c, sockets.c: netconn.recv_avail is only used for
2433 recv_avail and don't increment counters until message successfully
2852 netconn::recv_avail which need to be more "thread-safe" (note there is already
3322 * sys.h, api_lib.c, api_msg.c, sockets.c: fix bug #21698: "netconn->recv_avail
3324 netconn->recv_avail.