Home
last modified time | relevance | path

Searched refs:hShake (Results 1 – 1 of 1) sorted by relevance

/developtools/hdc/src/host/
Dclient.cpp522 ChannelHandShake *hShake = reinterpret_cast<ChannelHandShake *>(const_cast<uint8_t *>(buf)); in PreHandshake() local
523 if (strncmp(hShake->banner, HANDSHAKE_MESSAGE.c_str(), HANDSHAKE_MESSAGE.size())) { in PreHandshake()
530 hChannel->channelId = ntohl(hShake->channelId); in PreHandshake()
535 … if (memset_s(hShake->connectKey, sizeof(hShake->connectKey), 0, sizeof(hShake->connectKey)) != EOK in PreHandshake()
536 …|| memcpy_s(hShake->connectKey, sizeof(hShake->connectKey), connectKey.c_str(), connectKey.size())… in PreHandshake()
546 string serverVer(hShake->version); in PreHandshake()
555 Send(hChannel->channelId, reinterpret_cast<uint8_t *>(hShake), sizeof(ChannelHandShake)); in PreHandshake()
558 …Send(hChannel->channelId, reinterpret_cast<uint8_t *>(hShake), offsetof(struct ChannelHandShake, v… in PreHandshake()