htc: implement much of worker receive logic

This commit is contained in:
Michael Scire authored and SciresM committed 2021-02-24 04:06:54 -08:00
1 parent 8f85cc17dc
commit 679fec2ddc
19 files changed
+565 -12

No files matched your search

@@ -37,8 +37,15 @@ namespace ams::htclow::mux {
void SetVersion(u16 version);
Result CheckReceivedHeader(const PacketHeader &header) const;
Result ProcessReceivePacket(const PacketHeader &header, const void *body, size_t body_size);
void UpdateChannelState();
void UpdateMuxState();
private:
Result CheckChannelExist(impl::ChannelInternalType channel);
Result SendErrorPacket(impl::ChannelInternalType channel);
};
}