Home
last modified time | relevance | path

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

/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_input.c545 (!(pktHdr->dataLen < (FILLP_PACK_MIN_LEN - FILLP_HLEN))) && (!pcb->rtt)) { in FillpPackInputSendMsgTrace()
546 tmpPack.reserved.rtt = pack->reserved.rtt; in FillpPackInputSendMsgTrace()
548 tmpPack.reserved.rtt = 0; in FillpPackInputSendMsgTrace()
606 tmpPack.reserved.rtt = FILLP_NTOHL(pack->reserved.rtt); in FillpHandleAdhocpackFlag()
617 pack->reserved.rtt = FILLP_NTOHL(pack->reserved.rtt); in FillpHandleAdhocpackFlag()
618 /* rtt isn't much large, so only use the low 32bit is ok */ in FillpHandleAdhocpackFlag()
620 FILLP_UTILS_US2MS(((FILLP_UINT32)((FILLP_ULLONG)curTime & 0xFFFFFFFF) - pack->reserved.rtt)); in FillpHandleAdhocpackFlag()
[all...]
H A Dfillp_common.c374 pack.reserved.rtt = 0; in FillpSendAdhocpack()
683 void FillpAjustTlpParameterByRtt(struct FillpPcb *pcb, FILLP_LLONG rtt) in FillpAjustTlpParameterByRtt() argument
685 if (rtt < FILLP_RTT_TIME_LEVEL1) { in FillpAjustTlpParameterByRtt()
690 if (rtt < FILLP_RTT_TIME_LEVEL1_HALF) { in FillpAjustTlpParameterByRtt()
698 } else if (rtt < FILLP_RTT_TIME_LEVEL2) { in FillpAjustTlpParameterByRtt()
715 pcb->send.retramistRto = pcb->rtt; in FillpCalPackInterval()
722 if ((pcb->rtt / FILLP_FC_RTT_PACK_RATIO) < packInterval) { in FillpCalPackInterval()
725 pcb->FcTimerNode.interval = (FILLP_UINT32)(pcb->rtt / FILLP_FC_RTT_PACK_RATIO); in FillpCalPackInterval()
729 FILLP_GET_SOCKET(pcb)->index, pcb->packTimerNode.interval, pcb->FcTimerNode.interval, pcb->rtt, in FillpCalPackInterval()
760 FillpAjustTlpParameterByRtt(pcb, (FILLP_LLONG)pcb->rtt); in FillpAdjustFcParamsByRtt()
[all...]
H A Dfillp_output.c446 pack.reserved.rtt = in FillpSendAdhocpackToDetectRtt()
447 (FILLP_UINT32)((FILLP_ULLONG)curTime & 0xFFFFFFFF); /* rtt isn't much large, so only use the low 32bit is ok */ in FillpSendAdhocpackToDetectRtt()
474 pack->reserved.rtt = 0; in FillpSetSimplePack()
475 if ((!pcb->statistics.pack.peerRtt) && pcb->rtt) { in FillpSetSimplePack()
477 pack->reserved.rtt = (FILLP_UINT32)pcb->rtt; in FillpSetSimplePack()
480 if (!pcb->rtt) { in FillpSetSimplePack()
H A Dfillp_conn.c212 FILLP_ULLONG rtt; in FillpDecodeRtt() local
213 if (bufLen != (FILLP_INT)sizeof(rtt)) { in FillpDecodeRtt()
217 FILLP_INT err = memcpy_s(&rtt, sizeof(rtt), buf, (FILLP_UINT32)bufLen); in FillpDecodeRtt()
223 conn->calcRttDuringConnect = FILLP_NTOHLL(rtt); in FillpDecodeRtt()
463 pcb->rtt = (FILLP_ULLONG)rttTime; in FillpConnReqAckInput()
467 FILLP_GET_CONN(pcb)->calcRttDuringConnect = pcb->rtt; in FillpConnReqAckInput()
511 fpcb->rtt = newConn->calcRttDuringConnect; in FillpInitNewPcbByNewConn()
1599 tempRtt = FILLP_HTONLL(pcb->rtt); in ConnConfirmEncodeExtPara()
H A Dfillp_flow_control_alg0.c106 pcb->send.retramistRto = (FILLP_ULLONG)pcb->rtt; in FillpAlg0FcInit()
H A Dfillp_pcb.c440 pcb->appFcStastics.periodRtt = (FILLP_UINT32)FILLP_UTILS_US2MS(fpcb->rtt); in FillpInitStastics()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/protocol/rtcp/
H A Drtcp_unit_test.cpp44 uint32_t rtt = 1; in HWTEST_F() local
45 context->rtt_[ssrc] = rtt; in HWTEST_F()
47 EXPECT_EQ(ret, rtt); in HWTEST_F()
55 uint32_t rtt = 1; in HWTEST_F() local
56 context->rtt_[ssrc] = rtt; in HWTEST_F()
57 auto ret = context->GetRtt(rtt); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/src/
H A Drtcp_context.cpp73 auto rtt = (int32_t)(msInc - delayMs); in OnRtcp() local
74 if (rtt >= 0) { in OnRtcp()
75 rtt_[item->ssrc_] = rtt; in OnRtcp()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_qos/include/
H A Dlnn_lane_qos.h48 uint32_t rtt; member
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp_common.h48 void FillpAjustTlpParameterByRtt(struct FillpPcb *pcb, FILLP_LLONG rtt);
H A Dfillp_pcb.h199 FILLP_ULLONG rtt; member
H A Dfillp.h202 FILLP_UINT32 rtt; member
220 FILLP_ULLONG timestamp; /* Time stamp used for rtt Detective */
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_netlink.cpp55 uint32_t rtt; member
189 elems[QOS_RTT] = info.qos.rtt; in ProcessReportMsg()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dtime_sync.cpp720 auto [offset, rtt] = CalculateTimeOffset(ackPacket);
747 info.rtt = rtt;
770 if (info.rtt < MAX_TIME_RTT_NOISE) {
774 LOGI("[TimeSync] rtt %" PRId64 " is greater than noise should re time sync, interval is %" PRIu64, info.rtt,
781 LOGI("[TimeSync][TEST] rtt %" PRId64 " is greater than noise should re time sync, interval is %" PRIu64,
782 info.rtt, interval);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Ddb_types.h187 int64_t rtt = 0; member
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dfillp_dfx.c61 FILLP_UINT32 rtt; member
174 &args->sockQos.rtt, in DfxEvtGetParamAddr()
287 args.sockQos.rtt = appFcStastics->periodRtt; in FillpDfxSockQosNotify()
H A Dsocket_app.c1295 FILLP_ULLONG rtt = 0; in SockGetRtt() local
1309 rtt = conn->calcRttDuringConnect; in SockGetRtt()
1315 return rtt; in SockGetRtt()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_mock_sync_module_test.cpp2184 const TimeOffset rtt = 100; in HWTEST_F() local
2185 timeSyncInfo.SetTargetTimeBegin(rtt/2); // 2 is half of rtt in HWTEST_F()
2186 timeSyncInfo.SetTargetTimeEnd(rtt/2 + 1); // 2 is half of rtt in HWTEST_F()
2187 timeSyncInfo.SetSourceTimeEnd(requestOffset + rtt + 1); in HWTEST_F()
2190 EXPECT_EQ(actualRtt, rtt); in HWTEST_F()

Completed in 22 milliseconds