Searched refs:CheckRangeNetwork (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_function_test.cpp | 169 EXPECT_EQ(DHCP_OPT_ERROR, DhcpFunction::CheckRangeNetwork(ifname, begin, end)); in HWTEST_F() 175 EXPECT_EQ(DHCP_OPT_ERROR, DhcpFunction::CheckRangeNetwork(nullptr, begin, end)); in HWTEST_F() 176 EXPECT_EQ(DHCP_OPT_ERROR, DhcpFunction::CheckRangeNetwork(ifname, nullptr, end)); in HWTEST_F() 177 EXPECT_EQ(DHCP_OPT_ERROR, DhcpFunction::CheckRangeNetwork(ifname, begin, nullptr)); in HWTEST_F() 179 EXPECT_EQ(DHCP_OPT_ERROR, DhcpFunction::CheckRangeNetwork(nullptr, nullptr, end)); in HWTEST_F() 180 EXPECT_EQ(DHCP_OPT_ERROR, DhcpFunction::CheckRangeNetwork(nullptr, begin, nullptr)); in HWTEST_F() 181 EXPECT_EQ(DHCP_OPT_ERROR, DhcpFunction::CheckRangeNetwork(ifname, nullptr, nullptr)); in HWTEST_F() 183 EXPECT_EQ(DHCP_OPT_ERROR, DhcpFunction::CheckRangeNetwork(nullptr, nullptr, nullptr)); in HWTEST_F()
|
/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_function.h | 43 static int CheckRangeNetwork(const std::string strInf, const std::string strBegin, const std::string strEnd);
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_server_service_impl.cpp | 503 if (DhcpFunction::CheckRangeNetwork(ifname, range.strStartip, range.strEndip) != DHCP_OPT_SUCCESS) { in SetDhcpRange() 504 DHCP_LOGE("SetDhcpRange CheckRangeNetwork failed, ifname:%{public}s.", ifname.c_str()); in SetDhcpRange() 573 if (DhcpFunction::CheckRangeNetwork(ifname, iterTagValue.strStartip, iterTagValue.strEndip) != in SetDhcpNameExt() 575 DHCP_LOGE("SetDhcpName tag CheckRangeNetwork failed, ifname:%{public}s.", ifname.c_str()); in SetDhcpNameExt()
|
H A D | dhcp_function.cpp | 271 int DhcpFunction::CheckRangeNetwork(const std::string strInf, const std::string strBegin, const std::string strEnd) in CheckRangeNetwork() function in OHOS::DHCP::DhcpFunction 274 DHCP_LOGE("CheckRangeNetwork param error, strInf or strBegin or strEnd is empty!"); in CheckRangeNetwork() 280 DHCP_LOGE("CheckRangeNetwork get %{public}s local ip failed", strInf.c_str()); in CheckRangeNetwork() 287 DHCP_LOGE("CheckRangeNetwork %{public}s Ip4StrConToInt failed", strInf.c_str()); in CheckRangeNetwork()
|
Completed in 4 milliseconds