Home
last modified time | relevance | path

Searched refs:GetLocalInterface (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_function_test.cpp91 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 Dlink_info_test.cpp103 EXPECT_EQ(info.GetLocalInterface(), "");
105 EXPECT_EQ(info.GetLocalInterface(), "chba0");
181 EXPECT_EQ(info2.GetLocalInterface(), "chba0");
H A Dinner_link_test.cpp62 EXPECT_EQ(info.GetLocalInterface(), "");
64 EXPECT_EQ(info.GetLocalInterface(), "p2p0");
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinner_link.cpp69GetLocalInterface(), 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 Dlink_info.h75 std::string GetLocalInterface() const;
H A Dinner_link.h91 std::string GetLocalInterface() const;
H A Dlink_info.cpp135 std::string LinkInfo::GetLocalInterface() const in GetLocalInterface() function in OHOS::SoftBus::LinkInfo
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_function.h30 int GetLocalInterface(const char *ifname, int *ifindex, unsigned char *hwaddr, uint32_t *ifaddr4);
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_function.cpp145 int GetLocalInterface(const char *ifname, int *ifindex, unsigned char *hwaddr, uint32_t *ifaddr4) in GetLocalInterface() function
H A Ddhcp_client_state_machine.cpp251 …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 Dwifi_direct_utils.cpp472 info.GetLocalInterface().c_str(), info.GetLocalLinkMode()); in ShowLinkInfoList()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_utils.cpp468 info.GetLocalInterface().c_str(), info.GetLocalLinkMode()); in ShowLinkInfoList()