Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 2 of 2) sorted by relevance

/components/net/lwip-dhcpd/
A Ddhcp_server.c232 int bytes_read; in dhcpd_thread_entry() local
308 bytes_read = recvfrom(sock, recv_data, BUFSZ - 1, 0, in dhcpd_thread_entry()
310 if (bytes_read <= 0) in dhcpd_thread_entry()
316 else if (bytes_read < DHCP_MSG_LEN) in dhcpd_thread_entry()
/components/net/lwip/lwip-2.1.2/test/unit/api/
A Dtest_sockets.c284 int bytes_written, bytes_read; in test_sockets_msgapi_tcp() local
388 bytes_read = 0; in test_sockets_msgapi_tcp()
391 while (bytes_written < TOTAL_DATA_SZ && (bytes_read < TOTAL_DATA_SZ)) { in test_sockets_msgapi_tcp()
409 if (bytes_read < TOTAL_DATA_SZ) { in test_sockets_msgapi_tcp()
419 bytes_read += BUF_SZ; in test_sockets_msgapi_tcp()

Completed in 5 milliseconds