Home
last modified time | relevance | path

Searched refs:devIface (Results 1 - 25 of 45) sorted by relevance

12

/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/
H A Dnetsys_native_service_test.cpp87 std::string devIface = "lo"; in HWTEST_F() local
89 int32_t ret = instance_->EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
98 std::string devIface = ""; in HWTEST_F() local
100 int32_t ret = instance_->EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
H A Dnetsys_native_service_proxy_test.cpp116 std::string devIface = "lo"; in HWTEST_F() local
118 int32_t ret = netsysNativeService->EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
132 std::string devIface = ""; in HWTEST_F() local
134 int32_t ret = netsysNativeService->EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
H A Droute_manager_test.cpp58 std::string devIface = "lo"; in HWTEST_F() local
60 auto ret = RouteManager::EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
H A Dnet_manager_native_test.cpp67 std::string devIface = "lo"; in HWTEST_F() local
69 auto ret = instance_->EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
H A Dnetsys_controller_test.cpp122 std::string devIface = "lo"; in HWTEST_F() local
124 int32_t ret = NetsysController::GetInstance().EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
H A Dnetsys_native_service_stub_test.cpp230 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface,
608 std::string devIface = "lo"; in HWTEST_F() local
616 if (!data.WriteString(devIface)) { in HWTEST_F()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/netmgr_distributed_test/
H A Dnet_conn_service_test.cpp78 std::string devIface = "lo"; in HWTEST_F() local
80 int32_t ret = NetConnService::GetInstance()->EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
H A Dnet_conn_client_test.cpp72 std::string devIface = "lo"; in HWTEST_F() local
73 int32_t ret = NetConnClient::GetInstance().EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
H A Dnet_conn_service_proxy_test.cpp141 std::string devIface = "lo"; in HWTEST_F() local
144 int32_t ret = instance_->EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
H A Dnet_conn_service_stub_test.cpp104 std::string devIface = "lo"; in HWTEST_F() local
109 if (!data.WriteString(devIface)) { in HWTEST_F()
H A Dnet_conn_service_stub_test.h312 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface,
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_conn_service_iface.cpp48 int32_t NetConnServiceIface::EnableDistributedServerNet(const std::string &iif, const std::string &devIface, in EnableDistributedServerNet() argument
51 return NetConnService::GetInstance()->EnableDistributedServerNet(iif, devIface, dstAddr); in EnableDistributedServerNet()
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Ddistributed_manager.cpp252 void DistributedManager::SetServerNicInfo(const std::string &iif, const std::string &devIface) in SetServerNicInfo() argument
255 serverDevIface_ = devIface; in SetServerNicInfo()
H A Droute_manager.cpp427 int32_t RouteManager::AddServerUplinkRoute(const std::string &UplinkIif, const std::string &devIface) in AddServerUplinkRoute() argument
443 routeInfo.routeInterfaceName = devIface; in AddServerUplinkRoute()
495 int32_t RouteManager::EnableDistributedServerNet(const std::string &iif, const std::string &devIface, in EnableDistributedServerNet() argument
498 NETNATIVE_LOGI("EnableDistributedServerNet iif:%{public}s,devIface:%{public}s,dstAddr:%{public}s", in EnableDistributedServerNet()
499 iif.c_str(), devIface.c_str(), ToAnonymousIp(dstAddr).c_str()); in EnableDistributedServerNet()
502 DistributedManager::GetInstance().SetServerNicInfo(iif, devIface); in EnableDistributedServerNet()
503 ret += AddServerUplinkRoute(iif, devIface); in EnableDistributedServerNet()
/foundation/communication/netmanager_base/services/netmanagernative/include/manager/
H A Ddistributed_manager.h43 void SetServerNicInfo(const std::string &iif, const std::string &devIface);
H A Droute_manager.h299 * @param devIface dev Iface name to config route
303 static int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface,
363 static int32_t AddServerUplinkRoute(const std::string &UplinkIif, const std::string &devIface);
/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dnet_conn_service_iface.h35 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface, const std::string &dstAddr);
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnet_conn_service_test.cpp1519 std::string devIface = "devIface"; in HWTEST_F() local
1523 int32_t ret = NetConnService::GetInstance()->EnableDistributedServerNet(iif, devIface, virnicAddr); in HWTEST_F()
1526 ret = NetConnService::GetInstance()->EnableDistributedServerNet(iif, devIface, virnicAddr); in HWTEST_F()
1534 std::string devIface = "devIface"; in HWTEST_F() local
1535 int32_t ret = NetConnService::GetInstance()->EnableDistributedServerNetAsync(iif, devIface, virnicAddr); in HWTEST_F()
1538 ret = NetConnService::GetInstance()->EnableDistributedServerNetAsync(iif, devIface, virnicAddr); in HWTEST_F()
1542 ret = NetConnService::GetInstance()->EnableDistributedServerNetAsync(iif, devIface, virnicAddr); in HWTEST_F()
1545 ret = NetConnService::GetInstance()->EnableDistributedServerNetAsync(iif, devIface, virnicAdd in HWTEST_F()
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnet_manager_native.cpp125 int32_t NetManagerNative::EnableDistributedServerNet(const std::string &iif, const std::string &devIface, in EnableDistributedServerNet() argument
128 return routeManager_->EnableDistributedServerNet(iif, devIface, dstAddr); in EnableDistributedServerNet()
/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/interfaces/innerkits/netconnclient/include/proxy/
H A Dnet_conn_service_proxy.h34 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface,
H A Di_net_conn_service.h110 virtual int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface,
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_service_test/
H A Dnet_conn_service_stub_test.h312 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface,
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Dnetsys_native_service.cpp436 int32_t NetsysNativeService::EnableDistributedServerNet(const std::string &iif, const std::string &devIface, in EnableDistributedServerNet() argument
439 if (iif.empty() || devIface.empty() || dstAddr.empty()) { in EnableDistributedServerNet()
443 int32_t result = netsysService_->EnableDistributedServerNet(iif, devIface, dstAddr); in EnableDistributedServerNet()
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnet_conn_client.cpp123 int32_t NetConnClient::EnableDistributedServerNet(const std::string &iif, const std::string &devIface, in EnableDistributedServerNet() argument
133 return proxy->EnableDistributedServerNet(iif, devIface, dstAddr); in EnableDistributedServerNet()

Completed in 18 milliseconds

12