Lines Matching refs:sessionId
408 CleanForwardMap(hSession->sessionId);
438 WRITE_LOG(LOG_INFO, "the deamon maybe old version for %u session, so use rsa encrypt", hSession->sessionId);
443 WRITE_LOG(LOG_FATAL, "the buf is invalid for %u session, so use rsa encrypt", hSession->sessionId);
447 WRITE_LOG(LOG_INFO, "daemon auth type is rsa_3072_sha512 for %u session", hSession->sessionId);
463 Send(hSession->sessionId, 0, CMD_KERNEL_HANDSHAKE,
477 Send(hSession->sessionId, 0, CMD_KERNEL_HANDSHAKE,
584 Send(hSession->sessionId, channelId, CMD_KERNEL_CHANNEL_CLOSE, &flag, 1);
612 Send(hSession->sessionId, channelId, CMD_KERNEL_CHANNEL_CLOSE, payload, 1);
621 pdiNew->sessionId = hSession->sessionId;
726 void HdcServer::CleanForwardMap(uint32_t sessionId)
735 if (sessionId == 0 || sessionId == di->sessionId) {
781 hdcServer->FreeSession(hSession->sessionId);
871 FreeSession(hSession->sessionId);
904 hChannel->targetSessionId = hSession->sessionId;
928 Send(hSession->sessionId, channelId, CMD_KERNEL_CHANNEL_CLOSE, &count, 1);
939 Send(hSession->sessionId, hChannel->channelId, CMD_KERNEL_CHANNEL_CLOSE, &count, 1);
940 WRITE_LOG(LOG_DEBUG, "Childchannel begin close, cid:%u, sid:%u", hChannel->channelId, hSession->sessionId);
959 bool HdcServer::ServerCommand(const uint32_t sessionId, const uint32_t channelId, const uint16_t command,
964 HSession hSession = AdminSession(OP_QUERY, sessionId, nullptr);