Searched refs:hdr_bytes (Results 1 – 1 of 1) sorted by relevance
782 uint32_t hdr_bytes; // bytes of header already read member3170 rstate->hdr_bytes = 0; in reset_connected_rstate()3297 if (rs->hdr_bytes < sizeof(ipc_msg_hdr)) in read_msg()3299 nleft = sizeof(ipc_msg_hdr) - rs->hdr_bytes; in read_msg()3300 nread = recv(rs->sd, (char *)&rs->hdr + rs->hdr_bytes, nleft, 0); in read_msg()3303 rs->hdr_bytes += nread; in read_msg()3304 if (rs->hdr_bytes == sizeof(ipc_msg_hdr)) in read_msg()3314 if (rs->hdr_bytes > sizeof(ipc_msg_hdr)) in read_msg()3323 if (rs->hdr_bytes == sizeof(ipc_msg_hdr)) in read_msg()3357 if (rs->hdr_bytes == sizeof(ipc_msg_hdr) && rs->data_bytes == rs->hdr.datalen) in read_msg()