Lines Matching defs:r_bytes
679 ssize_t r_bytes, s_bytes;
694 r_bytes = recv(sock[0], sock_buf, buf_len, 0);
695 if (r_bytes < 0) {
699 } else if (r_bytes == 0) { /* EOF */
702 } else if (r_bytes != buf_len || memcmp(buf, sock_buf, buf_len)) {
703 printk("ping reply packet is corrupted %zd/%zu", r_bytes, buf_len);
716 ssize_t r_bytes, s_bytes;
722 r_bytes = recv(sock[0], sock_buf, buf_len, 0);
723 if (r_bytes < 0) {
728 if (r_bytes == 0) { /* EOF */
732 if (r_bytes != buf_len || memcmp(buf, sock_buf, buf_len)) {
733 printk("ping reply packet is corrupted %zd/%zu", r_bytes, buf_len);