Lines Matching refs:reply_len
148 int32_t reply_len = 0;
195 ret = read_all(s, (char *) &reply_len, sizeof(reply_len));
202 if (reply_len < 0 || reply_len > buflen) {
208 ret = read_all(s, (char *) buf, reply_len);
211 if (reply_len >= (int) (16+sizeof(int)))
234 int32_t reply_len = 0;
368 reply_len = strlen(reply_buf)+1;
372 reply_len = strlen(reply_buf)+1;
382 reply_len = sizeof(uu);
392 reply_len = sizeof(uu);
402 reply_len = sizeof(uu);
403 memcpy(reply_buf+reply_len, &num, sizeof(num));
404 reply_len += sizeof(num);
423 reply_len = (num*16) + sizeof(num);
431 write_all(ns, (char *) &reply_len, sizeof(reply_len));
432 write_all(ns, reply_buf, reply_len);