Home
last modified time | relevance | path

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

/third_party/lwip/test/sockets/
Dsockets_stresstest.c154 recv_and_check_data_return_offset(int s, char *rxbuf, size_t rxbufsize, size_t rxoff, int *closed, … in recv_and_check_data_return_offset() argument
158 ret = lwip_read(s, &rxbuf[rxoff], rxbufsize - rxoff); in recv_and_check_data_return_offset()
175 return check_test_data(rxbuf, rxoff + ret); in recv_and_check_data_return_offset()
408 char rxbuf[TEST_TXRX_BUFSIZE]; in sockets_stresstest_conn_client_r() local
415 rxoff = recv_and_check_data_return_offset(s, rxbuf, sizeof(rxbuf), rxoff, &closed, "cli"); in sockets_stresstest_conn_client_r()
437 char rxbuf[TEST_TXRX_BUFSIZE]; in sockets_stresstest_conn_client() local
482 rxoff = recv_and_check_data_return_offset(s, rxbuf, sizeof(rxbuf), rxoff, &closed, "cli"); in sockets_stresstest_conn_client()
514 char rxbuf[TEST_TXRX_BUFSIZE]; in sockets_stresstest_conn_server() local
531 rxoff = recv_and_check_data_return_offset(s, rxbuf, sizeof(rxbuf), rxoff, &closed, "srv"); in sockets_stresstest_conn_server()
/third_party/lwip/test/unit/mqtt/
Dtest_mqtt.c83 unsigned char rxbuf[] = {0x20, 0x02, 0x00, 0x00}; in START_TEST() local
94 p = pbuf_alloc(PBUF_RAW, sizeof(rxbuf), PBUF_REF); in START_TEST()
96 p->payload = rxbuf; in START_TEST()
/third_party/lwip/test/unit/api/
Dtest_sockets.c697 char rxbuf[16]; in START_TEST() local
790 ret = lwip_recv(spass, rxbuf, sizeof(rxbuf), 0); in START_TEST()
796 ret = lwip_recv(spass, rxbuf, sizeof(rxbuf), 0); in START_TEST()
804 ret = lwip_recv(spass, rxbuf, sizeof(rxbuf), 0); in START_TEST()
812 ret = lwip_recv(spass, rxbuf, sizeof(rxbuf), 0); in START_TEST()
/third_party/lwip/src/api/
Dsockets.c3855 struct netbuf *rxbuf; in lwip_ioctl() local
3856 err_t err = netconn_recv_udp_raw_netbuf_flags(sock->conn, &rxbuf, NETCONN_DONTBLOCK); in lwip_ioctl()
3860 sock->lastdata.netbuf = rxbuf; in lwip_ioctl()
3861 *((int *)argp) = rxbuf->p->tot_len; in lwip_ioctl()