Home
last modified time | relevance | path

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

/developtools/hdc/src/host/
Dclient.cpp518 ChannelHandShake *hShake = reinterpret_cast<ChannelHandShake *>(const_cast<uint8_t *>(buf)); in PreHandshake() local
519 if (strncmp(hShake->banner, HANDSHAKE_MESSAGE.c_str(), HANDSHAKE_MESSAGE.size())) { in PreHandshake()
526 hChannel->channelId = ntohl(hShake->channelId); in PreHandshake()
531 … if (memset_s(hShake->connectKey, sizeof(hShake->connectKey), 0, sizeof(hShake->connectKey)) != EOK in PreHandshake()
532 …|| memcpy_s(hShake->connectKey, sizeof(hShake->connectKey), connectKey.c_str(), connectKey.size())… in PreHandshake()
542 string serverVer(hShake->version); in PreHandshake()
551 Send(hChannel->channelId, reinterpret_cast<uint8_t *>(hShake), sizeof(ChannelHandShake)); in PreHandshake()
554 …Send(hChannel->channelId, reinterpret_cast<uint8_t *>(hShake), offsetof(struct ChannelHandShake, v… in PreHandshake()