Home
last modified time | relevance | path

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

/system/netd/server/
DNetlinkCommands.cpp131 ssize_t bytesread; in processNetlinkDump() local
133 bytesread = read(sock, buf, sizeof(buf)); in processNetlinkDump()
135 if (bytesread < 0) { in processNetlinkDump()
139 uint32_t len = bytesread; in processNetlinkDump()
154 } while (bytesread > 0); in processNetlinkDump()
DSockDiag.cpp72 ssize_t bytesread = recv(fd, &ack, sizeof(ack), MSG_DONTWAIT | MSG_PEEK); in checkError() local
73 if (bytesread == -1) { in checkError()
76 } else if (bytesread == (ssize_t) sizeof(ack) && ack.h.nlmsg_type == NLMSG_ERROR) { in checkError()