Lines Matching refs:bytes_received
313 static int bytes_received = 0; in tcp_receive_buffer() local
322 if (bytes_received == 0) { in tcp_receive_buffer()
348 while (*(message_received + bytes_received) != END_LINE in tcp_receive_buffer()
349 && bytes_received < count) { in tcp_receive_buffer()
351 message_received + bytes_received, 1); in tcp_receive_buffer()
353 bytes_received++; in tcp_receive_buffer()
357 if (bytes_received == count - 1) { in tcp_receive_buffer()
360 bytes_received = 0; in tcp_receive_buffer()
365 if (bytes_received < count - 1) { in tcp_receive_buffer()
368 bytes_received++; in tcp_receive_buffer()
374 if (bytes_received == count) { in tcp_receive_buffer()
375 bytes_received = 0; in tcp_receive_buffer()