Home
last modified time | relevance | path

Searched refs:CheckRangeNetwork (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_function_test.cpp169 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 Ddhcp_function.h43 static int CheckRangeNetwork(const std::string strInf, const std::string strBegin, const std::string strEnd);
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_service_impl.cpp503 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 Ddhcp_function.cpp271 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