/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_function_test.cpp | 91 ASSERT_EQ(GetLocalInterface(interface, &ifindex, hwaddr, NULL), DHCP_OPT_SUCCESS); 100 EXPECT_EQ(GetLocalInterface(NULL, NULL, NULL, NULL), DHCP_OPT_FAILED); 110 EXPECT_EQ(GetLocalInterface(interface, NULL, NULL, NULL), DHCP_OPT_FAILED); 112 EXPECT_EQ(GetLocalInterface(interface, &ifindex, NULL, NULL), DHCP_OPT_FAILED); 114 EXPECT_EQ(GetLocalInterface(interface, &ifindex, hwaddr, NULL), DHCP_OPT_FAILED); 116 EXPECT_EQ(GetLocalInterface(interface, &ifindex, hwaddr, &ifaddr4), DHCP_OPT_SUCCESS); 117 EXPECT_EQ(GetLocalInterface(interface, &ifindex, hwaddr, &ifaddr4), DHCP_OPT_SUCCESS);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/ |
H A D | link_info_test.cpp | 103 EXPECT_EQ(info.GetLocalInterface(), ""); 105 EXPECT_EQ(info.GetLocalInterface(), "chba0"); 181 EXPECT_EQ(info2.GetLocalInterface(), "chba0");
|
H A D | inner_link_test.cpp | 62 EXPECT_EQ(info.GetLocalInterface(), ""); 64 EXPECT_EQ(info.GetLocalInterface(), "p2p0");
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | inner_link.cpp | 69 … GetLocalInterface(), Ipv4Info(GetLocalIpv4()), Ipv4Info(GetRemoteIpv4()), GetRemoteBaseMac()); in ~InnerLink() 98 std::string InnerLink::GetLocalInterface() const in GetLocalInterface() function in OHOS::SoftBus::InnerLink 414 object["LOCAL_INTERFACE"] = GetLocalInterface(); in Dump()
|
H A D | link_info.h | 75 std::string GetLocalInterface() const;
|
H A D | inner_link.h | 91 std::string GetLocalInterface() const;
|
H A D | link_info.cpp | 135 std::string LinkInfo::GetLocalInterface() const in GetLocalInterface() function in OHOS::SoftBus::LinkInfo
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_function.h | 30 int GetLocalInterface(const char *ifname, int *ifindex, unsigned char *hwaddr, uint32_t *ifaddr4);
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_function.cpp | 145 int GetLocalInterface(const char *ifname, int *ifindex, unsigned char *hwaddr, uint32_t *ifaddr4) in GetLocalInterface() function
|
H A D | dhcp_client_state_machine.cpp | 251 …if (GetLocalInterface(m_cltCnf.ifaceName, &m_cltCnf.ifaceIndex, m_cltCnf.ifaceMac, NULL) != DHCP_O… in GetClientNetworkInfo()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/utils/ |
H A D | wifi_direct_utils.cpp | 472 info.GetLocalInterface().c_str(), info.GetLocalLinkMode()); in ShowLinkInfoList()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_utils.cpp | 468 info.GetLocalInterface().c_str(), info.GetLocalLinkMode()); in ShowLinkInfoList()
|