Home
last modified time | relevance | path

Searched refs:GetAddressWithString (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Dnetwork_interface.cpp143 … WIFI_LOGE("Add IP address [%{private}s] is not valid.", ipAddress.GetAddressWithString().c_str()); in AddIpAddress()
151 ipAddress.GetAddressWithString().c_str()); in AddIpAddress()
158 ipAddress.GetAddressWithString().c_str()); in AddIpAddress()
167 … WIFI_LOGE("Del IP address [%{private}s] is not valid.", ipAddress.GetAddressWithString().c_str()); in DelIpAddress()
174 ipAddress.GetAddressWithString().c_str()); in DelIpAddress()
180 ipAddress.GetAddressWithString().c_str()); in DelIpAddress()
324 ipAddress.GetAddressWithString().c_str(), ipAddress.GetAddressPrefixLength()); in IpAddressChange()
330 …Ipv4Address ipv4 = Ipv4Address::Create(ipAddress.GetAddressWithString(), ipAddress.GetAddressPrefi… in IpAddressChange()
331 ipAddr = ipv4.GetAddressWithString(); in IpAddressChange()
H A Dipv4_address.cpp36 ipv4 == invalidInetAddress.GetAddressWithString()) { in IsValidIPv4()
90 return IsValidIPv4(GetAddressWithString()); in IsValid()
96 if (inet_aton(GetAddressWithString().c_str(), &ipv4Addr) == 0) { in GetAddressWithInet()
158 std::string network = GetAddressWithString() + "/" + std::to_string(GetAddressPrefixLength()); in GetNetwork()
H A Ddhcpd_interface.cpp98 std::string ipAddr = mBindIpv4.GetAddressWithString(); in SetDhcpIpRange()
200 … ipv6 = Ipv6Address::Create(prefixIp.GetAddressWithString(), prefixIp.GetAddressPrefixLength(), 0); in AssignIpAddr()
211 if (inet_aton(address.GetAddressWithString().c_str(), &tmpAddr) == 0) { in CompareSubNet()
212 … WIFI_LOGE("convert ipaddress %{private}s failed!", address.GetAddressWithString().c_str()); in CompareSubNet()
269 if (inet_pton(AF_INET6, address.GetAddressWithString().c_str(), &tmpAddr) <= 0) { in AssignIpAddrV6()
270 … WIFI_LOGI("IpAddr:bad ip:%s and inet_pton error.", address.GetAddressWithString().c_str()); in AssignIpAddrV6()
H A Dbase_address.h101 inline const std::string &GetAddressWithString() const in GetAddressWithString() function
H A Dipv6_address.cpp44 ipv6 == INVALID_INET6_ADDRESS.GetAddressWithString()) { in IsValidIPv6()
167 return IsValidIPv6(GetAddressWithString()); in IsValid()
173 inet_pton(AF_INET6, GetAddressWithString().c_str(), &ipv6Addr); in GetIn6Addr()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/
H A Dap_state_machine.cpp131 …WifiNetAgent::GetInstance().AddRoute(ifaceName, ipv4.GetAddressWithString(), ipv4.GetAddressPrefix… in StartDhcpServer()
132 hotspotConfig.SetIpAddress(ipv4.GetAddressWithString()); in StartDhcpServer()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Dipv4_address_test.cpp87 EXPECT_EQ(Ipv4Address::Create(ipv4, mask).GetAddressWithString(), "192.168.3.144");
H A Dnetwork_interface_test.cpp48 if (GetAddressWithString().size() == NINE) { in IsValid()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dp2p_state_machine.cpp886 SetWifiP2pInfoWhenGroupFormed(ipv4.GetAddressWithString()); in StartDhcpServer()
888 currGroup.SetGoIpAddress(ipv4.GetAddressWithString()); in StartDhcpServer()
893 ipv4.GetAddressWithString(), ipv4.GetAddressPrefixLength()); in StartDhcpServer()