Lines Matching refs:readCount
1060 ssize_t readCount; in ProcessRoutingNotification() local
1070 readCount = read(sd, buff, sizeof buff); in ProcessRoutingNotification()
1075 if (((char*) &pNLMsg[1] > (buff + readCount)) || // i.e. *pNLMsg extends off end of buffer in ProcessRoutingNotification()
1076 ((char*) pNLMsg + pNLMsg->nlmsg_len > (buff + readCount))) in ProcessRoutingNotification()
1081 readCount -= ((char*) pNLMsg - buff); in ProcessRoutingNotification()
1082 memmove(buff, pNLMsg, readCount); in ProcessRoutingNotification()
1086 readCount += read(sd, buff + readCount, sizeof buff - readCount); in ProcessRoutingNotification()
1106 ssize_t len = readCount - ((char*)pNLMsg - buff); in ProcessRoutingNotification()
1149 ssize_t readCount; in ProcessRoutingNotification() local
1154 readCount = read(sd, buff, sizeof buff); in ProcessRoutingNotification()
1155 if (readCount < (ssize_t) sizeof(struct ifa_msghdr)) in ProcessRoutingNotification()