Lines Matching refs:len
39 size_t len;
45 len = sizeof(buf);
46 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, NULL) < 0) {
52 buf[len] = '\0';
65 size_t len;
71 len = resp_size;
72 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), resp, &len, NULL) < 0) {
78 resp[len] = '\0';
116 size_t len;
131 len = buf_size;
132 if (wpa_ctrl_recv(mon, buf, &len) < 0) {
136 if (len == buf_size)
137 len--;
138 buf[len] = '\0';
169 size_t len, flen;
174 len = sizeof(buf);
175 if (wpa_ctrl_request(ctrl, "STATUS", 6, buf, &len, NULL) < 0) {
180 buf[len] = '\0';
184 while (pos + flen < buf + len) {