Lines Matching defs:buff
1061 char buff[4096];
1062 struct nlmsghdr *pNLMsg = (struct nlmsghdr*) buff;
1070 readCount = read(sd, buff, sizeof buff);
1075 if (((char*) &pNLMsg[1] > (buff + readCount)) || // i.e. *pNLMsg extends off end of buffer
1076 ((char*) pNLMsg + pNLMsg->nlmsg_len > (buff + readCount)))
1078 if (buff < (char*) pNLMsg) // we have space to shuffle
1081 readCount -= ((char*) pNLMsg - buff);
1082 memmove(buff, pNLMsg, readCount);
1083 pNLMsg = (struct nlmsghdr*) buff;
1086 readCount += read(sd, buff + readCount, sizeof buff - readCount);
1106 ssize_t len = readCount - ((char*)pNLMsg - buff);
1150 char buff[4096];
1151 struct ifa_msghdr *pRSMsg = (struct ifa_msghdr*) buff;
1154 readCount = read(sd, buff, sizeof buff);