Lines Matching defs:r_bytes
633 ssize_t r_bytes, s_bytes;
648 r_bytes = recv(sock[0], sock_buf, buf_len, 0);
649 if (r_bytes < 0) {
653 } else if (r_bytes == 0) { /* EOF */
656 } else if (r_bytes != buf_len || memcmp(buf, sock_buf, buf_len)) {
657 printk("ping reply packet is corrupted %zd/%zu", r_bytes, buf_len);
670 ssize_t r_bytes, s_bytes;
676 r_bytes = recv(sock[0], sock_buf, buf_len, 0);
677 if (r_bytes < 0) {
682 if (r_bytes == 0) { /* EOF */
686 if (r_bytes != buf_len || memcmp(buf, sock_buf, buf_len)) {
687 printk("ping reply packet is corrupted %zd/%zu", r_bytes, buf_len);