Home
last modified time | relevance | path

Searched refs:GetIPV6MaskLength (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Dwifi_ip_tools_test.cpp104 EXPECT_EQ(IpTools::GetIPV6MaskLength(""), 0);
105 EXPECT_EQ(IpTools::GetIPV6MaskLength("ff00:0000:0000:0000:0000:0000:0000:0000"), 8);
106 EXPECT_EQ(IpTools::GetIPV6MaskLength("fe00:0000:0000:0000:0000:0000:0000:0000"), 7);
107 EXPECT_EQ(IpTools::GetIPV6MaskLength("fc00:0000:0000:0000:0000:0000:0000:0000"), 6);
108 EXPECT_EQ(IpTools::GetIPV6MaskLength("f800:0000:0000:0000:0000:0000:0000:0000"), 5);
109 EXPECT_EQ(IpTools::GetIPV6MaskLength("f000:0000:0000:0000:0000:0000:0000:0000"), 4);
110 EXPECT_EQ(IpTools::GetIPV6MaskLength("e000:0000:0000:0000:0000:0000:0000:0000"), 3);
111 EXPECT_EQ(IpTools::GetIPV6MaskLength("c000:0000:0000:0000:0000:0000:0000:0000"), 2);
112 EXPECT_EQ(IpTools::GetIPV6MaskLength("8000:0000:0000:0000:0000:0000:0000:0000"), 1);
113 EXPECT_EQ(IpTools::GetIPV6MaskLength("0000:0000:0000:0000:0000:0000:0000:0000"), 0);
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Dip_tools.h117 static int GetIPV6MaskLength(std::string mask);
H A Dip_tools.cpp182 int IpTools::GetIPV6MaskLength(std::string ip) in GetIPV6MaskLength() function in OHOS::Wifi::IpTools
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_net_agent.cpp409 unsigned int ipv6PrefixLength = IpTools::GetIPV6MaskLength(wifiIpV6Info.netmask);