Home
last modified time | relevance | path

Searched refs:PacketHead (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/
H A Dclient_trans_proxy_manager_test.cpp242 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 Dclient_trans_proxy_manager.c58 } 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 Davdtp_message.c304 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 Davdtp_impl.c1360 Buffer *header = PacketHead(mediaPacket); in AvdtActWriteReq()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/acl/
H A Dhci_acl.c312 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 Davctp_ctrl_act.c561 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 Dhci_cmd.c178 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 Dpacket.h93 BTSTACK_API Buffer *PacketHead(const Packet *pkt);
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_connect.c1211 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 Dsdp_server.c1558 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 Dpan_bnep.cpp275 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 Da2dp_encoder_sbc.cpp541 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 Dl2cap_core.c490 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 Dl2cap_le.c619 header = BufferPtr(PacketHead(fragPkt)); in L2capLeSegmentPacketWithCredit()
1443 header = BufferPtr(PacketHead(tpkt)); in L2CAP_LeSendData()
1646 header = BufferPtr(PacketHead(tpkt)); in L2CAP_LeSendFixChannelData()
H A Dl2cap.c368 header = BufferPtr(PacketHead(tpkt)); in L2CAP_SendData()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_l2cap_connection.cpp269 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 Drfcomm_l2cap_if.c552 headerBuf = (uint8_t *)BufferPtr(PacketHead(packet)); in RfcommSendData()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dpacket.c178 Buffer *PacketHead(const Packet *pkt) in PacketHead() function