Lines Matching refs:readCount
1203 ssize_t readCount; in ProcessRoutingNotification() local
1213 readCount = read( sd, buff, sizeof buff); in ProcessRoutingNotification()
1218 if ( ( (char*) &pNLMsg[1] > ( buff + readCount)) || // i.e. *pNLMsg extends off end of buffer in ProcessRoutingNotification()
1219 ( (char*) pNLMsg + pNLMsg->nlmsg_len > ( buff + readCount))) in ProcessRoutingNotification()
1224 readCount -= ( (char*) pNLMsg - buff); in ProcessRoutingNotification()
1225 memmove( buff, pNLMsg, readCount); in ProcessRoutingNotification()
1229 readCount += read( sd, buff + readCount, sizeof buff - readCount); in ProcessRoutingNotification()
1249 ssize_t len = readCount - ( (char*)pNLMsg - buff); in ProcessRoutingNotification()
1292 ssize_t readCount; in ProcessRoutingNotification() local
1297 readCount = read( sd, buff, sizeof buff); in ProcessRoutingNotification()
1298 if ( readCount < (ssize_t) sizeof( struct ifa_msghdr)) in ProcessRoutingNotification()