Searched refs:ProxyMessageHead (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_session.c | 137 static char *TransProxyPackAppNormalMsg(const ProxyMessageHead *msg, const char *payLoad, in TransProxyPackAppNormalMsg() 140 ProxyMessageHead proxyMessageHead; in TransProxyPackAppNormalMsg() 149 … if (memcpy_s(&proxyMessageHead, sizeof(ProxyMessageHead), msg, sizeof(ProxyMessageHead)) != EOK) { in TransProxyPackAppNormalMsg() 155 …y_s(buf + connHeadLen, bufLen - connHeadLen, &proxyMessageHead, sizeof(ProxyMessageHead)) != EOK) { in TransProxyPackAppNormalMsg() 160 uint32_t dstLen = bufLen - connHeadLen - sizeof(ProxyMessageHead); in TransProxyPackAppNormalMsg() 161 if (memcpy_s(buf + connHeadLen + sizeof(ProxyMessageHead), dstLen, payLoad, datalen) != EOK) { in TransProxyPackAppNormalMsg() 174 ProxyMessageHead msgHead = { 0 }; in TransProxyTransNormalMsg()
|
H A D | softbus_proxychannel_control.c | 40 ProxyMessageHead msgHead = {0}; in TransProxySendInnerMessage() 115 ProxyMessageHead msgHead = {0}; in TransProxyHandshake() 164 ProxyMessageHead msgHead = {0}; in TransProxyAckHandshake() 210 ProxyMessageHead msgHead = {0}; in TransProxyKeepalive() 246 ProxyMessageHead msgHead = {0}; in TransProxyAckKeepalive() 285 ProxyMessageHead msgHead = {0}; in TransProxyResetPeer()
|
H A D | softbus_proxychannel_message.c | 57 msg->data = data + sizeof(ProxyMessageHead); in TransProxyParseMessageHead() 58 msg->dateLen = len - sizeof(ProxyMessageHead); in TransProxyParseMessageHead() 63 static void TransProxyPackMessageHead(ProxyMessageHead *msgHead, uint8_t *buf, uint32_t size) in TransProxyPackMessageHead() 308 int32_t PackPlaintextMessage(ProxyMessageHead *msg, ProxyDataInfo *dataInfo) in PackPlaintextMessage() 333 static int32_t PackEncryptedMessage(ProxyMessageHead *msg, AuthHandle authHandle, ProxyDataInfo *da… in PackEncryptedMessage() 359 int32_t TransProxyPackMessage(ProxyMessageHead *msg, AuthHandle authHandle, ProxyDataInfo *dataInfo) in TransProxyPackMessage()
|
H A D | softbus_proxychannel_manager.c | 911 static inline int32_t CheckAppTypeAndMsgHead(const ProxyMessageHead *msgHead, const AppInfo *appInf… in CheckAppTypeAndMsgHead()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/ |
H A D | softbus_proxychannel_message.h | 74 } ProxyMessageHead; typedef 77 ProxyMessageHead msgHead; 169 int32_t TransProxyPackMessage(ProxyMessageHead *msg, AuthHandle authHandle, ProxyDataInfo *dataInfo… 175 int32_t PackPlaintextMessage(ProxyMessageHead *msg, ProxyDataInfo *dataInfo);
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/include/ |
H A D | softbus_datahead_transform.h | 32 void UnpackProxyMessageHead(ProxyMessageHead *msg); 33 void PackProxyMessageHead(ProxyMessageHead *msg);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/common/fuzztest/connectioncommon_fuzzer/ |
H A D | connectioncommon_fuzzer.cpp | 43 if (size < sizeof(ProxyMessageHead)) { in DoDataHeadTransformFuzz() 46 ProxyMessageHead proxyMessageHead; in DoDataHeadTransformFuzz()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/ |
H A D | softbus_datahead_transform.c | 45 void PackProxyMessageHead(ProxyMessageHead *msg) in PackProxyMessageHead() 55 void UnpackProxyMessageHead(ProxyMessageHead *msg) in UnpackProxyMessageHead()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/fuzztest/transproxyonmessagereceived_fuzzer/ |
H A D | transproxyonmessagereceived_fuzzer.cpp | 44 static void InitProxyMessageHead(const uint8_t *data, size_t size, ProxyMessageHead *proxyMessageHe… in InitProxyMessageHead()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | softbus_proxychannel_message_test.cpp | 399 ProxyMessageHead msg; 437 ProxyMessageHead msg; 1092 ProxyMessageHead msg; 1093 memset_s(&msg, sizeof(ProxyMessageHead), 0, sizeof(ProxyMessageHead));
|
H A D | softbus_proxychannel_manager_test.cpp | 845 ProxyMessageHead *msgHead = (ProxyMessageHead *)SoftBusCalloc(sizeof(ProxyMessageHead));
|
H A D | trans_proxy_message_test.cpp | 338 ProxyMessageHead msg; 376 ProxyMessageHead msg;
|