Home
last modified time | relevance | path

Searched refs:BaseAddress (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Dbase_address.cpp27 BaseAddress::BaseAddress(const std::string &ip, size_t prefixLength, FamilyType family) in BaseAddress() function in OHOS::Wifi::BaseAddress
31 bool BaseAddress::operator==(const BaseAddress &address) const in operator ==()
36 BaseAddress::~BaseAddress() in ~BaseAddress()
39 void BaseAddress::Dump() const in Dump()
H A Dbase_address.h25 class BaseAddress {
40 BaseAddress() = delete;
47 BaseAddress(const std::string &ip, size_t prefixLength, FamilyType family);
58 bool operator==(const BaseAddress &) const;
65 virtual ~BaseAddress();
H A Dnetwork_interface.h85 bool IsExistAddressForInterface(const std::string &interfaceName, const BaseAddress &address);
94 bool AddIpAddress(const std::string &interfaceName, const BaseAddress &ipAddress);
104 bool DelIpAddress(const std::string &interfaceName, const BaseAddress &ipAddress);
156 bool IpAddressChange(const std::string &interface, const BaseAddress &ipAddress, bool action, bool …
H A Dnetwork_interface.cpp116 …Interface::IsExistAddressForInterface(const std::string &interfaceName, const BaseAddress &address) in IsExistAddressForInterface()
140 bool NetworkInterface::AddIpAddress(const std::string &interfaceName, const BaseAddress &ipAddress) in AddIpAddress()
164 bool NetworkInterface::DelIpAddress(const std::string &interfaceName, const BaseAddress &ipAddress) in DelIpAddress()
320 const std::string &interface, const BaseAddress &ipAddress, bool action, bool dad) in IpAddressChange()
322 … if (!ipAddress.IsValid() || ipAddress.GetFamilyType() == BaseAddress::FamilyType::FAMILY_INET6) { in IpAddressChange()
H A Dipv4_address.h27 class Ipv4Address : public BaseAddress {
H A Dipv6_address.h28 class Ipv6Address : public BaseAddress {
H A Dipv4_address.cpp85 : BaseAddress(ipv4, prefixLength, FamilyType::FAMILY_INET) in Ipv4Address()
H A Dipv6_address.cpp162 : BaseAddress(ipv6, prefixLength, FamilyType::FAMILY_INET6) in Ipv6Address()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Dnetwork_interface_test.cpp38 class BaseAddressTest : public BaseAddress {
40 BaseAddressTest(const std::string ip, BaseAddress::FamilyType familyType) in BaseAddressTest()
41 : BaseAddress(ip, 1, familyType) in BaseAddressTest()
132 BaseAddressTest address1 = BaseAddressTest("192.168.1.3", BaseAddress::FamilyType::FAMILY_INET);
135 BaseAddressTest address2 = BaseAddressTest("127.0.0.1", BaseAddress::FamilyType::FAMILY_INET);
137 …BaseAddressTest address3 = BaseAddressTest("0:0:0:0:0:0:0:1", BaseAddress::FamilyType::FAMILY_INET…
149 BaseAddressTest address1 = BaseAddressTest("192.168", BaseAddress::FamilyType::FAMILY_INET);
151 BaseAddressTest address2 = BaseAddressTest("127.0.0.1", BaseAddress::FamilyType::FAMILY_INET6);
163 BaseAddressTest address1 = BaseAddressTest("192.168", BaseAddress::FamilyType::FAMILY_INET);
165 BaseAddressTest address2 = BaseAddressTest("127.0.0.1", BaseAddress::FamilyType::FAMILY_INET6);
[all …]
H A Dbase_address_test.cpp40 class BaseAddressSubClass : public BaseAddress {
42 BaseAddressSubClass() : BaseAddress("192.168.1.8", 1, FamilyType::FAMILY_UNSPEC) in BaseAddressSubClass()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/Mock/
H A Dmock_network_interface.h39 …D2(IsExistAddressForInterface, bool(const std::string &interfaceName, const BaseAddress &address));
40 … MOCK_METHOD2(AddIpAddress, bool(const std::string &interfaceName, const BaseAddress &IpAddress));
41 … MOCK_METHOD2(DelIpAddress, bool(const std::string &interfaceName, const BaseAddress &IpAddress));
47 …IpAddressChange, bool(const std::string &interface, const BaseAddress &IpAddress, bool Action, boo…
H A Dmock_network_interface.cpp52 bool IsExistAddressForInterface(const std::string &interfaceName, const BaseAddress &address) in IsExistAddressForInterface()
57 bool AddIpAddress(const std::string &interfaceName, const BaseAddress &IpAddress) in AddIpAddress()
62 bool DelIpAddress(const std::string &interfaceName, const BaseAddress &IpAddress) in DelIpAddress()
83 bool IpAddressChange(const std::string &interface, const BaseAddress &IpAddress, bool Action, bool … in IpAddressChange()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/
H A Dlibwifi_toolkit.map6 "*BaseAddress*";