Lines Matching defs:resp_len
184 int resp_len;
194 resp_len = recv(sd, &ans, sizeof(ans), 0);
196 if (ans.n.nlmsg_type == NLMSG_ERROR || resp_len < 0 ||
197 !NLMSG_OK(&ans.n, resp_len))
201 resp_len = GENLMSG_PAYLOAD(&ans.n);
204 while (len < resp_len) {
253 int rc, resp_len;
261 resp_len = recv(sd, msg, sizeof(*msg), 0);
262 if (resp_len < 0) {
268 !NLMSG_OK(&msg->n, resp_len)) {
281 int resp_len;
284 resp_len = GENLMSG_PAYLOAD(&msg->n);
288 while (len < resp_len) {
295 return resp_len;
650 int resp_len;
663 resp_len = recv(sd, &ans, sizeof(ans), 0);
664 if (ans.n.nlmsg_type == NLMSG_ERROR || resp_len < 0 ||
665 !NLMSG_OK(&ans.n, resp_len))
668 resp_len = GENLMSG_PAYLOAD(&ans.n);
676 while (len < resp_len) {
725 int resp_len;
729 resp_len = recv(sd, evt_data, sizeof(evt_data), 0);
730 if (resp_len < 0)