Home
last modified time | relevance | path

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

/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/
H A Dclient_trans_proxy_manager_test.cpp242 PacketHead packetHead; in HWTEST_F()
243 ret = memcpy_s(buf + sizeof(SliceHead), TEST_DATA_LENGTH_2, &packetHead, sizeof(PacketHead)); in HWTEST_F()
261 ret = memcpy_s(buf + sizeof(SliceHead), TEST_DATA_LENGTH_2, &packetHead, sizeof(PacketHead)); in HWTEST_F()
268 ret = memcpy_s(buf + sizeof(SliceHead), TEST_DATA_LENGTH_2, &packetHead, sizeof(PacketHead)); in HWTEST_F()
273 packetHead.dataLen = sizeof(PacketHead) - 1; in HWTEST_F()
274 ret = memcpy_s(buf + sizeof(SliceHead), TEST_DATA_LENGTH_2, &packetHead, sizeof(PacketHead)); in HWTEST_F()
298 PacketHead packetHead; in HWTEST_F()
300 packetHead.dataLen = TEST_DATA_LENGTH_2 - sizeof(SliceHead) - sizeof(PacketHead); in HWTEST_F()
301 ret = memcpy_s(buf + sizeof(SliceHead), TEST_DATA_LENGTH_2, &packetHead, sizeof(PacketHead)); in HWTEST_F()
314 int32_t dataLen = sizeof(SliceHead) + sizeof(PacketHead) in HWTEST_F()
[all...]
/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()
521 static int32_t ClientTransProxyProcessSessionData(int32_t channelId, const PacketHead *dataHead, const char *data) in ClientTransProxyProcessSessionData()
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()
590 int32_t ret = ClientTransProxyProcessSessionData(channelId, &head, data + sizeof(PacketHead)); in ClientTransProxyNoSubPacketProc()
[all...]
/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()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avdtp/
H A Davdtp_message.c80 uint8_t *p = (uint8_t *)BufferPtr(PacketHead(pkt)); in AvdtSendFragPacket()
131 Buffer *packetHeader = PacketHead(sendMsg); in AvdtSendFragStart()
157 Buffer *packetHeader = PacketHead(sendMsg); in AvdtSendFragContinueEnd()
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(pk in AvdtBuildCommonRej()
[all...]
H A Davdtp_impl.c1360 Buffer *header = PacketHead(mediaPacket); in AvdtActWriteReq()
/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()
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dpacket.h93 BTSTACK_API Buffer *PacketHead(const Packet *pkt);
/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()
/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()
/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()
/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()
/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.c368 header = BufferPtr(PacketHead(tpkt)); in L2CAP_SendData()
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()
/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()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/
H A Drfcomm_l2cap_if.c552 headerBuf = (uint8_t *)BufferPtr(PacketHead(packet)); in RfcommSendData()
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dpacket.c178 Buffer *PacketHead(const Packet *pkt) in PacketHead() function

Completed in 26 milliseconds