/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/ |
H A D | client_trans_proxy_manager_test.cpp | 242 PacketHead packetHead; 243 ret = memcpy_s(buf + sizeof(SliceHead), TEST_DATA_LENGTH_2, &packetHead, sizeof(PacketHead)); 261 ret = memcpy_s(buf + sizeof(SliceHead), TEST_DATA_LENGTH_2, &packetHead, sizeof(PacketHead)); 268 ret = memcpy_s(buf + sizeof(SliceHead), TEST_DATA_LENGTH_2, &packetHead, sizeof(PacketHead)); 273 packetHead.dataLen = sizeof(PacketHead) - 1; 274 ret = memcpy_s(buf + sizeof(SliceHead), TEST_DATA_LENGTH_2, &packetHead, sizeof(PacketHead)); 298 PacketHead packetHead; 300 packetHead.dataLen = TEST_DATA_LENGTH_2 - sizeof(SliceHead) - sizeof(PacketHead); 301 ret = memcpy_s(buf + sizeof(SliceHead), TEST_DATA_LENGTH_2, &packetHead, sizeof(PacketHead)); 314 int32_t dataLen = sizeof(SliceHead) + sizeof(PacketHead) + 1; [all …]
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/ |
H A D | client_trans_proxy_manager.c | 58 } PacketHead; typedef 83 void ClientPackPacketHead(PacketHead *data) in ClientPackPacketHead() 91 void ClientUnPackPacketHead(PacketHead *data) in ClientUnPackPacketHead() 568 PacketHead head; in ClientTransProxyNoSubPacketProc() 569 if (memcpy_s(&head, sizeof(PacketHead), data, sizeof(PacketHead)) != EOK) { in ClientTransProxyNoSubPacketProc() 585 if (len <= sizeof(PacketHead) || (head.dataLen != (int32_t)(len - sizeof(PacketHead)))) { in ClientTransProxyNoSubPacketProc() 711 uint32_t maxLen = actualDataLen + sizeof(PacketHead) + OVERHEAD_LEN; in ClientTransProxyFirstSliceProcess() 919 dataInfo->outLen = dataInfo->inLen + OVERHEAD_LEN + sizeof(PacketHead); in ClientTransProxyPackBytes() 934 char *outData = (char *)dataInfo->outData + sizeof(PacketHead); in ClientTransProxyPackBytes() 946 PacketHead *pktHead = (PacketHead *)dataInfo->outData; in ClientTransProxyPackBytes() [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avdtp/ |
H A D | avdtp_message.c | 304 Buffer *msgHeader = PacketHead(pkt); in AvdtMsgSendGeneralRej() 331 Buffer *msgHeader = PacketHead(pkt); in AvdtBuildDelayCmd() 364 Buffer *msgHeader = PacketHead(pkt); in AvdtBuildDiscoverCmd() 388 Buffer *msgHeader = PacketHead(pkt); in AvdtBuildDiscoverRsp() 454 Buffer *msgHeader = PacketHead(pkt); in AvdtBuildSingleCmd() 480 Buffer *msgHeader = PacketHead(pkt); in AvdtBuildSingleRsp() 504 Buffer *msgHeader = PacketHead(pkt); in AvdtBuildCommonRej() 531 Buffer *msgHeader = PacketHead(pkt); in AvdtBuildConfigureRej() 572 Buffer *msgHeader = PacketHead(pkt); in AvdtBuildSetConfigureCmd() 611 Buffer *msgHeader = PacketHead(pkt); in AvdtBuildGetCapRsp() [all …]
|
H A D | avdtp_impl.c | 1360 Buffer *header = PacketHead(mediaPacket); in AvdtActWriteReq()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/acl/ |
H A D | hci_acl.c | 312 Buffer *headerBuffer = PacketHead(packet); in HciGetAclHandleFromPacket() 421 headerBuffer = PacketHead(fargmented); in HciFargment() 482 Buffer *headerBuffer = PacketHead(aclPacket); in HciFargmentAndSendData() 537 Buffer *headerBuffer = PacketHead(aclPacket); in HciFargmentAndSendLeData() 738 buffer = PacketHead(packet); in HciCleanupCacheByAclHandle() 764 buffer = PacketHead(packet); in HciCleanupLeCacheByAclHandle()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/ |
H A D | avctp_ctrl_act.c | 561 Buffer *buf = PacketHead(pkt); in AvctMakeSignleMsgHead() 581 Buffer *buf = PacketHead(pkt); in AvctMakeRejMsgHead() 603 Buffer *buf = PacketHead(pkg); in AvctMakeFrgMsgHeadStart() 628 Buffer *buf = PacketHead(pkg); in AvctMakeFrgMsgHeadContinueEnd()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/cmd/ |
H A D | hci_cmd.c | 178 Buffer *headerBuffer = PacketHead(packet); in HciCreateCmdPacket() 191 Buffer *headerBuffer = PacketHead(packet); in HciCreateCmdPacketWithParam()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
H A D | packet.h | 93 BTSTACK_API Buffer *PacketHead(const Packet *pkt);
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp_connect.c | 1211 header = (uint8_t *)BufferPtr(PacketHead(packet)); in SdpSendErrorResponse() 1269 header = BufferPtr(PacketHead(sendPacket)); in SdpBuildSearchFragmentResponse() 1384 header = BufferPtr(PacketHead(sendPacket)); in SdpSendSearchResponse() 1450 header = BufferPtr(PacketHead(sendPacket)); in SdpBuildAttributeFragmentResponse() 1549 header = BufferPtr(PacketHead(sendPacket)); in SdpSendAttributeResponse() 1595 header = (uint8_t *)BufferPtr(PacketHead(sendPacket)); in SdpSendRequest()
|
H A D | sdp_server.c | 1558 header = BufferPtr(PacketHead(packet)); in SdpCreateSearchAttributeResponse() 1563 header = BufferPtr(PacketHead(packet)); in SdpCreateSearchAttributeResponse()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/ |
H A D | pan_bnep.cpp | 275 buf = (uint8_t *)BufferPtr(PacketHead(packet)); in SendData() 1200 buf = (uint8_t *)BufferPtr(PacketHead(packet)); in BnepSendControlCommandNotUnderstood() 1221 buf = (uint8_t *)BufferPtr(PacketHead(packet)); in BnepSendSetupConnectionResponse() 1242 buf = (uint8_t *)BufferPtr(PacketHead(packet)); in BnepSendFilterNetTypeResponse() 1263 buf = (uint8_t *)BufferPtr(PacketHead(packet)); in BnepSendFilterMultiAddrResponse()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbccodecctrl/src/ |
H A D | a2dp_encoder_sbc.cpp | 541 Buffer *header = PacketHead(pkt); in EnqueuePacket() 587 Buffer *header = PacketHead(mediaPacket); in EnqueuePacketFragment()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/ |
H A D | l2cap_core.c | 490 header = BufferPtr(PacketHead(spkt)); in L2capBuildSFrame() 546 header = BufferPtr(PacketHead(tx->pkt)); in L2capProcessRxReqSeq() 602 pktHeader = BufferPtr(PacketHead(tx->pkt)); in L2capErfcTxOneFrame() 777 header = BufferPtr(PacketHead(tx->pkt)); in L2capErfcDoTx() 835 header = BufferPtr(PacketHead(tx->pkt)); in L2capErfcTx() 899 header = BufferPtr(PacketHead(ipkt)); in L2capBuildIFrame()
|
H A D | l2cap_le.c | 619 header = BufferPtr(PacketHead(fragPkt)); in L2capLeSegmentPacketWithCredit() 1443 header = BufferPtr(PacketHead(tpkt)); in L2CAP_LeSendData() 1646 header = BufferPtr(PacketHead(tpkt)); in L2CAP_LeSendFixChannelData()
|
H A D | l2cap.c | 368 header = BufferPtr(PacketHead(tpkt)); in L2CAP_SendData()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/ |
H A D | hid_host_l2cap_connection.cpp | 269 buf = (uint8_t *)BufferPtr(PacketHead(packet)); in SendGetReport() 313 buf = (uint8_t *)BufferPtr(PacketHead(packet)); in SendSetReport()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/ |
H A D | rfcomm_l2cap_if.c | 552 headerBuf = (uint8_t *)BufferPtr(PacketHead(packet)); in RfcommSendData()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | packet.c | 178 Buffer *PacketHead(const Packet *pkt) in PacketHead() function
|