Home | History | Annotate | Download | only in mDNSPosix

Lines Matching refs:readCount

1036 	ssize_t					readCount;
1046 readCount = read(sd, buff, sizeof buff);
1051 if (((char*) &pNLMsg[1] > (buff + readCount)) || // i.e. *pNLMsg extends off end of buffer
1052 ((char*) pNLMsg + pNLMsg->nlmsg_len > (buff + readCount)))
1057 readCount -= ((char*) pNLMsg - buff);
1058 memmove(buff, pNLMsg, readCount);
1062 readCount += read(sd, buff + readCount, sizeof buff - readCount);
1063 continue; // spin around and revalidate with new readCount
1082 ssize_t len = readCount - ((char*)pNLMsg - buff);
1125 ssize_t readCount;
1130 readCount = read(sd, buff, sizeof buff);
1131 if (readCount < (ssize_t) sizeof(struct ifa_msghdr))