Lines Matching defs:buff
1035 char buff[4096];
1036 struct nlmsghdr *pNLMsg = (struct nlmsghdr*) buff;
1044 readCount = read(sd, buff, sizeof buff);
1049 if (((char*) &pNLMsg[1] > (buff + readCount)) || // i.e. *pNLMsg extends off end of buffer
1050 ((char*) pNLMsg + pNLMsg->nlmsg_len > (buff + readCount)))
1052 if (buff < (char*) pNLMsg) // we have space to shuffle
1055 readCount -= ((char*) pNLMsg - buff);
1056 memmove(buff, pNLMsg, readCount);
1057 pNLMsg = (struct nlmsghdr*) buff;
1060 readCount += read(sd, buff + readCount, sizeof buff - readCount);
1080 ssize_t len = readCount - ((char*)pNLMsg - buff);
1124 char buff[4096];
1125 struct ifa_msghdr *pRSMsg = (struct ifa_msghdr*) buff;
1128 readCount = read(sd, buff, sizeof buff);