• Home
  • Raw
  • Download

Lines Matching refs:payload

478 bool HdcServer::ServerSessionHandshake(HSession hSession, uint8_t *payload, int payloadSize)  in ServerSessionHandshake()  argument
481 string s = string(reinterpret_cast<char *>(payload), payloadSize); in ServerSessionHandshake()
527 …FetchCommand(HSession hSession, const uint32_t channelId, const uint16_t command, uint8_t *payload, in FetchCommand() argument
533 ret = ServerSessionHandshake(hSession, payload, payloadSize); in FetchCommand()
559 sfc->EchoClientRaw(hChannel, payload, payloadSize); in FetchCommand()
563 MessageLevel level = static_cast<MessageLevel>(*payload); in FetchCommand()
564 string s(reinterpret_cast<char *>(payload + 1), payloadSize - 1); in FetchCommand()
575 if (*payload != 0) { in FetchCommand()
576 --(*payload); in FetchCommand()
577 Send(hSession->sessionId, channelId, CMD_KERNEL_CHANNEL_CLOSE, payload, 1); in FetchCommand()
588 pdiNew->forwardDirection = (reinterpret_cast<char *>(payload))[0] == '1'; in FetchCommand()
589 pdiNew->taskString = reinterpret_cast<char *>(payload) + offset; in FetchCommand()
612 sfc->SendCommandToClient(hChannel, command, payload, payloadSize); in FetchCommand()
621 ret = DispatchTaskData(hSessionByQuery, channelId, command, payload, payloadSize); in FetchCommand()
933 const uint16_t command, uint8_t *payload, const int payloadSize) in RedirectToTask() argument
941 … ret = TaskCommandDispatch<HdcHostUnity>(hTaskInfo, TYPE_UNITY, command, payload, payloadSize); in RedirectToTask()
950 ret = TaskCommandDispatch<HdcFile>(hTaskInfo, TASK_FILE, command, payload, payloadSize); in RedirectToTask()
959 … ret = TaskCommandDispatch<HdcHostForward>(hTaskInfo, TASK_FORWARD, command, payload, payloadSize); in RedirectToTask()
966 … ret = TaskCommandDispatch<HdcHostApp>(hTaskInfo, TASK_APP, command, payload, payloadSize); in RedirectToTask()
977 … ret = TaskCommandDispatch<HostUpdater>(hTaskInfo, TASK_FLASHD, command, payload, payloadSize); in RedirectToTask()