Home
last modified time | relevance | path

Searched refs:dstAddr (Results 26 - 50 of 62) sorted by relevance

123

/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_dev.c315 int32_t GetTargetInterface(const struct sockaddr_in *dstAddr, struct ifreq *localDev) in GetTargetInterface() argument
347 if ((dstAddr->sin_addr.s_addr & netMask) == (localIp & netMask)) { in GetTargetInterface()
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_dev.c322 int32_t GetTargetInterface(const struct sockaddr_in *dstAddr, struct ifreq *localDev) in GetTargetInterface() argument
354 if ((dstAddr->sin_addr.s_addr & netMask) == (localIp & netMask)) { in GetTargetInterface()
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Droute_manager_test.cpp657 const std::string dstAddr = "127.0.0.1"; in HWTEST_F() local
659 auto ret = RouteManager::AddClatTunInterface(interfaceName, dstAddr, nxtHop); in HWTEST_F()
662 ret = RouteManager::AddClatTunInterface(interfaceName, dstAddr, nxtHop); in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/InnerAPI/
H A Dvideoenc_ndk_inner_sample.cpp1183 uint8_t *dstAddr = (uint8_t *)surfaceBuffer->GetVirAddr(); in ReadCustomDataToAVBuffer() local
1184 if (dstAddr == nullptr) { in ReadCustomDataToAVBuffer()
1190 if (memcpy_s(dstAddr, dstWidthStride, inStream, srcWidthStride)) { in ReadCustomDataToAVBuffer()
1193 dstAddr += dstWidthStride; in ReadCustomDataToAVBuffer()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnet_manager_native.cpp126 const std::string &dstAddr) in EnableDistributedServerNet()
128 return routeManager_->EnableDistributedServerNet(iif, devIface, dstAddr); in EnableDistributedServerNet()
125 EnableDistributedServerNet(const std::string &iif, const std::string &devIface, const std::string &dstAddr) EnableDistributedServerNet() argument
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnet_conn_client.h461 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface, const std::string &dstAddr);
/foundation/communication/netmanager_base/test/netconnmanager/unittest/netmgr_distributed_test/
H A Dnet_conn_service_stub_test.h313 const std::string &dstAddr) override
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/
H A Dnet_conn_service_proxy.h35 const std::string &dstAddr) override;
H A Di_net_conn_service.h111 const std::string &dstAddr) = 0;
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_service_test/
H A Dnet_conn_service_stub_test.h313 const std::string &dstAddr) override
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/
H A Dnstackx_dfile_transfer.h206 struct sockaddr_in dstAddr; member
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_session.c437 if (memcmp(&peerInfo->dstAddr, peerAddr, sizeof(struct sockaddr_in)) == 0 && in SearchPeerInfoNode()
602 PeerInfo *CreatePeerInfo(DFileSession *session, const struct sockaddr_in *dstAddr, uint16_t peerMtu, in CreatePeerInfo() argument
613 peerInfo->dstAddr = *dstAddr; in CreatePeerInfo()
751 if (memcmp(&peerInfo->dstAddr, peerAddr, sizeof(struct sockaddr_in)) == 0 && in HandleWithoutSettingError()
912 peerAddr = peerInfo->dstAddr; in DFileWriteHandle()
H A Dnstackx_dfile_send.c380 session->socket[socketIndex]->dstAddr = queueNode->peerAddr; in SendOutboundFrame()
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Dnetsys_native_service.cpp437 const std::string &dstAddr) in EnableDistributedServerNet()
439 if (iif.empty() || devIface.empty() || dstAddr.empty()) { in EnableDistributedServerNet()
443 int32_t result = netsysService_->EnableDistributedServerNet(iif, devIface, dstAddr); in EnableDistributedServerNet()
436 EnableDistributedServerNet(const std::string &iif, const std::string &devIface, const std::string &dstAddr) EnableDistributedServerNet() argument
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnet_conn_client.cpp124 const std::string &dstAddr) in EnableDistributedServerNet()
133 return proxy->EnableDistributedServerNet(iif, devIface, dstAddr); in EnableDistributedServerNet()
123 EnableDistributedServerNet(const std::string &iif, const std::string &devIface, const std::string &dstAddr) EnableDistributedServerNet() argument
/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dnet_conn_service.h369 const std::string &dstAddr) override;
493 const std::string &dstAddr);
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/
H A Dvideoenc_func_unit_test.cpp277 uint8_t *dstAddr = (uint8_t *)surfaceBuffer->GetVirAddr(); in ReadCustomDataToAVBuffer() local
278 UNITTEST_CHECK_AND_RETURN_RET_LOG(dstAddr != nullptr, false, "dst is nullptr"); in ReadCustomDataToAVBuffer()
282 memcpy_s(dstAddr, dstWidthStride, inStream, srcWidthStride); in ReadCustomDataToAVBuffer()
283 dstAddr += dstWidthStride; in ReadCustomDataToAVBuffer()
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Di_netsys_service.h115 const std::string &dstAddr) = 0;
H A Dnetsys_native_service_proxy.h81 const std::string &dstAddr) override;
/foundation/communication/netmanager_base/services/netmanagernative/include/
H A Dnetsys_native_service.h105 const std::string &dstAddr) override;
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dnet_manager_native.h62 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface, const std::string &dstAddr);
/foundation/communication/netmanager_base/services/netsyscontroller/include/
H A Dnetsys_controller_service_impl.h64 const std::string &dstAddr) override;
H A Di_netsys_controller_service.h90 const std::string &dstAddr) = 0;
H A Dnetsys_controller.h73 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface, const std::string &dstAddr);
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_conn_service.cpp2925 const std::string &dstAddr) in EnableDistributedServerNet()
2929 netConnEventHandler_->PostSyncTask([this, &iif, &devIface, &dstAddr, &result]() { in EnableDistributedServerNet()
2930 result = this->EnableDistributedServerNetAsync(iif, devIface, dstAddr); in EnableDistributedServerNet()
2937 const std::string &dstAddr) in EnableDistributedServerNetAsync()
2944 if (!CommonUtils::IsValidIPV4(dstAddr)) { in EnableDistributedServerNetAsync()
2945 NETMGR_LOG_E("the dstAddr is not valid"); in EnableDistributedServerNetAsync()
2949 if (NetsysController::GetInstance().EnableDistributedServerNet(iif, devIface, dstAddr) != NETMANAGER_SUCCESS) { in EnableDistributedServerNetAsync()
2924 EnableDistributedServerNet(const std::string &iif, const std::string &devIface, const std::string &dstAddr) EnableDistributedServerNet() argument
2936 EnableDistributedServerNetAsync(const std::string &iif, const std::string &devIface, const std::string &dstAddr) EnableDistributedServerNetAsync() argument

Completed in 32 milliseconds

123