Home
last modified time | relevance | path

Searched refs:mtuSize_ (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dnetwork_adapter.cpp158 mtuSize_ = processCommunicator_->GetMtuSize(); in GetMtuSize()
159 LOGD("[NAdapt][GetMtu] mtuSize=%" PRIu32 ".", mtuSize_); in GetMtuSize()
160 mtuSize_ = CheckAndAdjustMtuSize(mtuSize_); in GetMtuSize()
163 return mtuSize_; in GetMtuSize()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dvirtual_communicator.cpp127 return mtuSize_; in GetCommunicatorMtuSize()
137 mtuSize_ = mtuSize; in SetCommunicatorMtuSize()
H A Dvirtual_communicator.h112 uint32_t mtuSize_ = 5 * 1024 * 1024; // 5 * 1024 * 1024B variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/include/
H A Dnetwork_adapter.h75 uint32_t mtuSize_ = 0; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_data_sync.cpp34 : mtuSize_(0), in SingleVerDataSync()
57 mtuSize_ = DBConstant::MIN_MTU_SIZE; // default size is 1K, it will update when need sync data. in Initialize()
240 if (packetLen > mtuSize_ && mtuSize_ > NOTIFY_MIN_MTU_SIZE) { in Send()
242 static_cast<uint64_t>(context->GetTimeoutTime()) / mtuSize_); // no overflow in Send()
1355 if (mtuSize_ >= packetLen || mtuSize_ < NOTIFY_MIN_MTU_SIZE) { in SendResetWatchDogPacket()
1358 …a = static_cast<uint64_t>(packetLen) * static_cast<uint64_t>(context->GetTimeoutTime()) / mtuSize_; in SendResetWatchDogPacket()
1706mtuSize_ = communicateHandle_->GetCommunicatorMtuSize(deviceId_) * 9 / 10; // get the 9/10 of the … in UpdateMtuSize()
1764 mtuSize_ * 100 / compressionRate); // compressionRate max is 100 in GetDataSizeSpecInfo()
H A Dsingle_ver_data_sync.h254 uint32_t mtuSize_; variable