Searched refs:hdr (Results 1 – 2 of 2) sorted by relevance
60 CoreCmdHeader hdr; in coreHeader() local61 hdr.bytes = dataLen; in coreHeader()62 hdr.cmdID = cmdID; in coreHeader()63 mToCoreSocket.writeAsync(&hdr, sizeof(hdr)); in coreHeader()209 ClientCmdHeader hdr; in sendToClient() local210 hdr.bytes = dataLen; in sendToClient()211 hdr.cmdID = cmdID; in sendToClient()212 hdr.userID = usrID; in sendToClient()214 mToClientSocket.writeAsync(&hdr, sizeof(hdr)); in sendToClient()221 if (!mToClient.makeSpaceNonBlocking(dataLen + sizeof(hdr))) { in sendToClient()
602 uint32_t hdr[2]; in parseChunk() local603 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()606 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()607 uint32_t chunk_type = ntohl(hdr[1]); in parseChunk()