Searched refs:next_recv_len (Results 1 – 2 of 2) sorted by relevance
235 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()240 p->next_recv_len = *(uint32_t *)recv_buffer; in tuneserver_process_client_message()241 p->recv_len = p->next_recv_len; in tuneserver_process_client_message()242 if (p->next_recv_len > TUNESERVER_MAX_RECV) in tuneserver_process_client_message()244 if (p->next_recv_len == 0) { in tuneserver_process_client_message()246 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()251 p->recv_buf = malloc(p->next_recv_len); in tuneserver_process_client_message()257 memcpy(p->recv_buf, recv_buffer, p->next_recv_len); in tuneserver_process_client_message()259 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()265 p->next_recv_len = 2; in tuneserver_process_client_message()[all …]
82 uint32_t next_recv_len; member98 uint32_t next_recv_len; member