Home
last modified time | relevance | path

Searched refs:ChannelHandShake (Results 1 - 5 of 5) sorted by relevance

/developtools/hdc/src/host/
H A Dserver_for_client.cpp72 buf->len = sizeof(struct ChannelHandShake) + DWORD_SERIALIZE_SIZE; // only recv static size in AcceptClient()
74 buf->len = offsetof(struct ChannelHandShake, version) + DWORD_SERIALIZE_SIZE; in AcceptClient()
80 struct ChannelHandShake handShake = {}; in AcceptClient()
91 thisClass->Send(hChannel->channelId, (uint8_t *)&handShake, sizeof(struct ChannelHandShake)); in AcceptClient()
95 offsetof(struct ChannelHandShake, version)); in AcceptClient()
791 int HdcServerForClient::ChannelHandShake(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ChannelHandShake() function in Hdc::HdcServerForClient
796 struct ChannelHandShake *handShake = reinterpret_cast<struct ChannelHandShake *>(rebuildHandshake.data()); in ChannelHandShake()
839 return ChannelHandShake(hChannel, bufPtr, bytesIO); in ReadChannel()
H A Dserver_for_client.h57 int ChannelHandShake(HChannel hChannel, uint8_t *bufPtr, const int bytesIO);
H A Dclient.cpp592 ChannelHandShake *hShake = reinterpret_cast<ChannelHandShake *>(const_cast<uint8_t *>(buf)); in PreHandshake()
631 Send(hChannel->channelId, reinterpret_cast<uint8_t *>(hShake), sizeof(ChannelHandShake)); in PreHandshake()
634 Send(hChannel->channelId, reinterpret_cast<uint8_t *>(hShake), offsetof(struct ChannelHandShake, version)); in PreHandshake()
/developtools/hdc/src/common/
H A Dchannel.h35 struct ChannelHandShake { struct in Hdc::HdcChannelBase
H A Dchannel.cpp43 struct ChannelHandShake handshake = {}; in GetChannelHandshake()
50 ret.insert(ret.begin(), (uint8_t *)&handshake, (uint8_t *)&handshake + sizeof(ChannelHandShake)); in GetChannelHandshake()

Completed in 5 milliseconds