/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/ |
H A D | netsys_native_service_test.cpp | 87 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 D | netsys_native_service_proxy_test.cpp | 116 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 D | route_manager_test.cpp | 58 std::string devIface = "lo"; in HWTEST_F() local 60 auto ret = RouteManager::EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
|
H A D | net_manager_native_test.cpp | 67 std::string devIface = "lo"; in HWTEST_F() local 69 auto ret = instance_->EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
|
H A D | netsys_controller_test.cpp | 122 std::string devIface = "lo"; in HWTEST_F() local 124 int32_t ret = NetsysController::GetInstance().EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
|
H A D | netsys_native_service_stub_test.cpp | 230 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 D | net_conn_service_test.cpp | 78 std::string devIface = "lo"; in HWTEST_F() local 80 int32_t ret = NetConnService::GetInstance()->EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
|
H A D | net_conn_client_test.cpp | 72 std::string devIface = "lo"; in HWTEST_F() local 73 int32_t ret = NetConnClient::GetInstance().EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
|
H A D | net_conn_service_proxy_test.cpp | 141 std::string devIface = "lo"; in HWTEST_F() local 144 int32_t ret = instance_->EnableDistributedServerNet(iif, devIface, dstAddr); in HWTEST_F()
|
H A D | net_conn_service_stub_test.cpp | 104 std::string devIface = "lo"; in HWTEST_F() local 109 if (!data.WriteString(devIface)) { in HWTEST_F()
|
H A D | net_conn_service_stub_test.h | 312 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface,
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_conn_service_iface.cpp | 48 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 D | distributed_manager.cpp | 252 void DistributedManager::SetServerNicInfo(const std::string &iif, const std::string &devIface) in SetServerNicInfo() argument 255 serverDevIface_ = devIface; in SetServerNicInfo()
|
H A D | route_manager.cpp | 427 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 D | distributed_manager.h | 43 void SetServerNicInfo(const std::string &iif, const std::string &devIface);
|
H A D | route_manager.h | 299 * @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 D | net_conn_service_iface.h | 35 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 D | net_conn_service_test.cpp | 1519 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 D | net_manager_native.cpp | 125 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 D | net_conn_client.h | 461 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 D | net_conn_service_proxy.h | 34 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface,
|
H A D | i_net_conn_service.h | 110 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 D | net_conn_service_stub_test.h | 312 int32_t EnableDistributedServerNet(const std::string &iif, const std::string &devIface,
|
/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | netsys_native_service.cpp | 436 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 D | net_conn_client.cpp | 123 int32_t NetConnClient::EnableDistributedServerNet(const std::string &iif, const std::string &devIface, in EnableDistributedServerNet() argument 133 return proxy->EnableDistributedServerNet(iif, devIface, dstAddr); in EnableDistributedServerNet()
|