MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / OnPassNetworkPacket

Method OnPassNetworkPacket

Src/Core/DeviceBridge.cpp:60–64  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

58
59////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
60void FSecure::C3::Core::DeviceBridge::OnPassNetworkPacket(ByteView packet)
61{
62 auto lock = std::lock_guard<std::mutex>{ m_ProtectWriteInConcurrentThreads };
63 m_SendQueue.emplace_back(packet);
64}
65
66////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
67void FSecure::C3::Core::DeviceBridge::PostCommandToConnector(ByteView packet)

Callers 1

LockAndSendPacketMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected