Home
last modified time | relevance | path

Searched refs:GetAddressPrefixLength (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Dipv4_address.cpp115 size_t num = GetAddressPrefixLength(); in GetMaskWithInet()
158 std::string network = GetAddressWithString() + "/" + std::to_string(GetAddressPrefixLength()); in GetNetwork()
H A Dbase_address.h112 inline size_t GetAddressPrefixLength() const in GetAddressPrefixLength() function
H A Dnetwork_interface.cpp324 ipAddress.GetAddressWithString().c_str(), ipAddress.GetAddressPrefixLength()); in IpAddressChange()
330 …s ipv4 = Ipv4Address::Create(ipAddress.GetAddressWithString(), ipAddress.GetAddressPrefixLength()); in IpAddressChange()
H A Ddhcpd_interface.cpp192 … Ipv6Address prefixIp = (apShareIp.GetAddressPrefixLength() > (IP_V6_ADDR_LEN - EU_I64_ADDR_LEN)) in AssignIpAddr()
200 … ipv6 = Ipv6Address::Create(prefixIp.GetAddressWithString(), prefixIp.GetAddressPrefixLength(), 0); in AssignIpAddr()
H A Dipv6_address.cpp181 ipv6Prefix = GetIpv6Prefix(ipv6AddrBuf, GetAddressPrefixLength()); in GetPrefix()
321 ret += std::to_string(GetAddressPrefixLength()); in GetNetwork()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/
H A Dap_state_machine.cpp131 …ent::GetInstance().AddRoute(ifaceName, ipv4.GetAddressWithString(), ipv4.GetAddressPrefixLength()); in StartDhcpServer()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dp2p_state_machine.cpp893 ipv4.GetAddressWithString(), ipv4.GetAddressPrefixLength()); in StartDhcpServer()