/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | dhcp_controller.cpp | 52 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptServerId).c_str(), in OnSuccess() 53 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptSubnet).c_str(), in OnSuccess() 54 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptDns1).c_str(), in OnSuccess() 55 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptDns2).c_str(), in OnSuccess() 56 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptRouter1).c_str(), in OnSuccess() 57 NetManagerStandard::CommonUtils::ToAnonymousIp(result->strOptRouter2).c_str()); in OnSuccess()
|
H A D | netsys_native_service_stub.cpp | 615 ifName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in CmdNetworkAddRoute() 630 interfaceName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in CmdNetworkRemoveRoute()
|
H A D | netsys_native_service.cpp | 250 interfaceName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in NetworkAddRoute()
|
/foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
H A D | ethernet_lan_management.cpp | 114 CommonUtils::ToAnonymousIp(inetAddr.address_).c_str());
in SetIp() 137 CommonUtils::ToAnonymousIp(inetAddr.address_).c_str());
in DelIp() 159 CommonUtils::ToAnonymousIp(route.destination_.address_).c_str());
in SetRoute() 178 CommonUtils::ToAnonymousIp(route.destination_.address_).c_str());
in DelRoute()
|
H A D | ethernet_configuration.cpp | 711 NETMGR_EXT_LOG_I("Same ip addr:%{public}s", CommonUtils::ToAnonymousIp(dhcpResult.ipAddr).c_str()); in IsValidDhcpResult() 718 NETMGR_EXT_LOG_I("Same gateway:%{public}s", CommonUtils::ToAnonymousIp(dhcpResult.gateWay).c_str()); in IsValidDhcpResult()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/ |
H A D | wrapper_distributor.cpp | 247 ToAnonymousIp(addr).c_str(), ifName.c_str(), flags, scope); in NotifyInterfaceAddressUpdate() 264 ToAnonymousIp(addr).c_str(), ifName.c_str(), flags, scope); in NotifyInterfaceAddressRemove() 281 updated ? "updated" : "removed", ToAnonymousIp(route).c_str(), ToAnonymousIp(gateway).c_str(), in NotifyRouteChange()
|
/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
H A D | mock_netsys_native_client.cpp | 143 netId, ifName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in NetworkAddRoute() 152 netId, ifName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in NetworkRemoveRoute() 190 ifName.c_str(), ToAnonymousIp(ipAddr).c_str(), prefixLength); in AddInterfaceAddress() 198 ifName.c_str(), ToAnonymousIp(ipAddr).c_str(), prefixLength); in DelInterfaceAddress() 489 NETMGR_LOG_E("inet_aton ip[%{public}s]", ToAnonymousIp(ip).c_str()); in AddRoute()
|
H A D | netsys_controller.cpp | 228 netId, ifName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in NetworkAddRoute() 242 netId, ifName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in NetworkRemoveRoute() 352 ifName.c_str(), ToAnonymousIp(ipAddr).c_str(), prefixLength); in AddInterfaceAddress() 366 ifName.c_str(), ToAnonymousIp(ipAddr).c_str(), prefixLength); in DelInterfaceAddress() 380 ifName.c_str(), ToAnonymousIp(ipAddr).c_str(), prefixLength); in DelInterfaceAddress() 859 socketFd, ToAnonymousIp(ipAddress).c_str(), prefixLen); in SetIpAddress() 922 iface.c_str(), ToAnonymousIp(ipv4addr).c_str()); in StartDhcpService()
|
H A D | netsys_controller_service_impl.cpp | 130 netId, ifName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in NetworkAddRoute() 141 netId, ifName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in NetworkRemoveRoute() 215 ToAnonymousIp(ipAddr).c_str(), prefixLength); in AddInterfaceAddress() 226 ToAnonymousIp(ipAddr).c_str(), prefixLength); in DelInterfaceAddress() 237 ToAnonymousIp(ipAddr).c_str(), prefixLength); in DelInterfaceAddress() 247 ToAnonymousIp(ipAddress).c_str()); in InterfaceSetIpAddress()
|
H A D | netsys_native_client.cpp | 348 netId, ifName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in NetworkAddRoute() 361 netId, ifName.c_str(), ToAnonymousIp(destination).c_str(), ToAnonymousIp(nextHop).c_str()); in NetworkRemoveRoute() 477 ifName.c_str(), ToAnonymousIp(ipAddr).c_str(), prefixLength); in AddInterfaceAddress() 490 ifName.c_str(), ToAnonymousIp(ipAddr).c_str(), prefixLength); in DelInterfaceAddress() 503 ifName.c_str(), ToAnonymousIp(ipAddr).c_str(), prefixLength); in DelInterfaceAddress() 515 ifaceName.c_str(), ToAnonymousIp(ipAddress).c_str()); in InterfaceSetIpAddress()
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | network.cpp | 299 CommonUtils::ToAnonymousIp(inetAddr.address_).c_str()); in UpdateIpAddrs() 314 CommonUtils::ToAnonymousIp(inetAddr.address_).c_str()); in UpdateIpAddrs() 336 CommonUtils::ToAnonymousIp(inetAddr.address_).c_str()); in HandleUpdateIpAddrs() 358 CommonUtils::ToAnonymousIp(route.destination_.address_).c_str()); in UpdateRoutes() 380 CommonUtils::ToAnonymousIp(route.destination_.address_).c_str()); in UpdateRoutes() 413 ss << '[' << CommonUtils::ToAnonymousIp(dns.address_).c_str() << ']'; in UpdateDns()
|
/foundation/communication/netmanager_base/test/netmanagerutils/unittest/netmanager_base_common_test/ |
H A D | ut_netmanager_base_common.cpp | 344 * @tc.desc: Test UtNetmanagerBaseCommon ToAnonymousIp. 349 auto result = CommonUtils::ToAnonymousIp(TEST_IPV4); in HWTEST_F() 355 * @tc.desc: Test UtNetmanagerBaseCommon ToAnonymousIp. 360 auto result = CommonUtils::ToAnonymousIp(TEST_IP); in HWTEST_F() 366 * @tc.desc: Test UtNetmanagerBaseCommon ToAnonymousIp. 371 auto result = CommonUtils::ToAnonymousIp({}); in HWTEST_F()
|
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | inet_addr.cpp | 152 str.append(CommonUtils::ToAnonymousIp(address_)); in ToString()
|
/foundation/communication/netmanager_base/test/netmanagernative/unit_test/ |
H A D | network_route.cpp | 282 NETNATIVE_LOGE("before: parcel get ipv4Addr = %{public}s", CommonUtils::ToAnonymousIp(parcel.ipv4Addr).c_str()); in TestInterfaceSetCfg() 287 NETNATIVE_LOGE("after: parcel get ipv4Addr = %{public}s", CommonUtils::ToAnonymousIp(parcel.ipv4Addr).c_str()); in TestInterfaceSetCfg()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | route_manager.cpp | 108 interfaceName.c_str(), ToAnonymousIp(destinationName).c_str(), ToAnonymousIp(nextHop).c_str(), add); in UpdateVnicRoute() 125 interfaceName.c_str(), ToAnonymousIp(destinationName).c_str(), ToAnonymousIp(nextHop).c_str()); in AddRoute() 146 interfaceName.c_str(), ToAnonymousIp(destinationName).c_str(), ToAnonymousIp(nextHop).c_str()); in RemoveRoute() 159 interfaceName.c_str(), ToAnonymousIp(destinationName).c_str(), ToAnonymousIp(nextHop).c_str()); in UpdateRoute() 388 ToAnonymousIp(virNicAddr).c_str(), iif.c_str()); in EnableDistributedClientNet() 499 iif.c_str(), devIface.c_str(), ToAnonymousIp(dstAdd in EnableDistributedServerNet() [all...] |
H A D | interface_manager.cpp | 190 NETNATIVE_LOGE("Ivalid ip address: %{public}s", CommonUtils::ToAnonymousIp(addr).c_str()); in ModifyAddress() 219 ToAnonymousIp(addr).c_str(), prefixLen); in ModifyAddress()
|
/foundation/communication/netmanager_base/utils/common_utils/include/ |
H A D | netmanager_base_common_utils.h | 64 std::string ToAnonymousIp(const std::string &input);
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | clat_utils.cpp | 116 CommonUtils::ToAnonymousIp(initV4AddrStr).c_str(), prefixLen); in SelectIpv4Address() 392 NETNATIVE_LOGW("Invalid IPv6 address %{public}s", CommonUtils::ToAnonymousIp(addrStr).c_str()); in ConfigureReadSocket()
|
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | bitmap_manager.cpp | 215 CommonUtils::ToAnonymousIp(addrStr).c_str(), item.mask); in InsertIp6SegBitmap() 610 CommonUtils::ToAnonymousIp(startIpStr).c_str(), info.prefixlen); in AddIp6()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/ |
H A D | dns_param_cache.cpp | 33 std::for_each(data.begin(), data.end(), [&result](const auto &str) { result.append(ToAnonymousIp(str) + ", "); }); in GetVectorData()
|
/foundation/communication/netmanager_base/utils/common_utils/src/ |
H A D | netmanager_base_common_utils.cpp | 389 std::string ToAnonymousIp(const std::string &input) in ToAnonymousIp() function
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | netsys_controller_test.cpp | 830 lt.ifaceName_.c_str(), lt.linkEncap_.c_str(), CommonUtils::ToAnonymousIp(lt.ipv4Addr_).c_str(), in HWTEST_F() 844 lt.ifaceName_.c_str(), lt.linkEncap_.c_str(), CommonUtils::ToAnonymousIp(lt.ipv4Addr_).c_str(), in HWTEST_F()
|