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