Searched refs:bytesread (Results 1 – 2 of 2) sorted by relevance
129 ssize_t bytesread; in processNetlinkDump() local131 bytesread = read(sock, buf, sizeof(buf)); in processNetlinkDump()133 if (bytesread < 0) { in processNetlinkDump()137 uint32_t len = bytesread; in processNetlinkDump()152 } while (bytesread > 0); in processNetlinkDump()
60 ssize_t bytesread = recv(fd, &ack, sizeof(ack), MSG_DONTWAIT | MSG_PEEK); in checkError() local61 if (bytesread == -1) { in checkError()64 } else if (bytesread == (ssize_t) sizeof(ack) && ack.h.nlmsg_type == NLMSG_ERROR) { in checkError()