Home
last modified time | relevance | path

Searched refs:GetNetworkIpByIfName (Results 1 - 8 of 8) sorted by relevance

/foundation/communication/dsoftbus/tests/adapter/unittest/
H A Ddsoftbus_other_test.cpp68 int32_t ret = GetNetworkIpByIfName(ifName, ip, netmask, len); in HWTEST_F()
84 int32_t ret = GetNetworkIpByIfName(NULL, ip, netmask, len); in HWTEST_F()
87 ret = GetNetworkIpByIfName(ifName, NULL, netmask, len); in HWTEST_F()
102 int32_t ret = GetNetworkIpByIfName(ifName, ip, NULL, len); in HWTEST_F()
/foundation/communication/dsoftbus/adapter/common/include/
H A Dlnn_ip_utils_adapter.h35 int32_t GetNetworkIpByIfName(const char *ifName, char *ip, char *netmask, uint32_t len);
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_buscenter/
H A Dlnn_ip_network_impl_mock.cpp165 int32_t GetNetworkIpByIfName(const char *ifName, char *ip, char *netmask, uint32_t len) in GetNetworkIpByIfName() function
167 return GetLnnIpNetworkImplInterface()->GetNetworkIpByIfName(ifName, ip, netmask, len); in GetNetworkIpByIfName()
H A Dlnn_ip_network_impl_mock.h58 virtual int32_t GetNetworkIpByIfName(const char *ifName, char *ip, char *netmask, uint32_t len) = 0;
90 MOCK_METHOD4(GetNetworkIpByIfName, int32_t (const char *, char *, char *, uint32_t));
H A Dlnn_ip_network_impl_test.cpp134 EXPECT_CALL(ipMock, GetNetworkIpByIfName).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F()
167 EXPECT_CALL(ipMock, GetNetworkIpByIfName).WillOnce(Return(SOFTBUS_ERR)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F()
173 EXPECT_CALL(ipMock, GetNetworkIpByIfName).WillRepeatedly(LnnIpNetworkImplInterfaceMock:: in HWTEST_F()
232 EXPECT_CALL(ipMock, GetNetworkIpByIfName).WillRepeatedly(LnnIpNetworkImplInterfaceMock:: in HWTEST_F()
/foundation/communication/dsoftbus/adapter/common/kernel/liteos_m/
H A Dlnn_ip_utils_adapter.c21 int32_t GetNetworkIpByIfName(const char *ifName, char *ip, char *netmask, uint32_t len) in GetNetworkIpByIfName() function
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dlnn_ip_utils_adapter.c60 int32_t GetNetworkIpByIfName(const char *ifName, char *ip, char *netmask, uint32_t len) in GetNetworkIpByIfName() function
/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/src/
H A Dlnn_ip_network_impl.c78 if (GetNetworkIpByIfName(ifName, ip, NULL, size) != SOFTBUS_OK) { in GetIpAddrFromNetlink()

Completed in 4 milliseconds