Lines Matching full: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);
405 reply_len = sizeof(uu);
406 memcpy(reply_buf+reply_len, &num, sizeof(num));
407 reply_len += sizeof(num);
426 reply_len = (num*16) + sizeof(num);
434 write_all(ns, (char *) &reply_len, sizeof(reply_len));
435 write_all(ns, reply_buf, reply_len);