Home
last modified time | relevance | path

Searched refs:Ip4StrConToInt (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Dmock_custom_func.cpp74 Ip4StrConToInt(cliIp, &uCliIp, false); in __wrap_GetDhcpRawPacket()
75 Ip4StrConToInt(serIp, &uSerIp, false); in __wrap_GetDhcpRawPacket()
109 Ip4StrConToInt(cliIp, &uCliIp, false); in __wrap_GetDhcpKernelPacket()
110 Ip4StrConToInt(serIp, &uSerIp, false); in __wrap_GetDhcpKernelPacket()
H A Ddhcp_function_test.cpp45 EXPECT_EQ(true, Ip4StrConToInt(serIp, &uSerIp, true));
52 EXPECT_EQ(false, Ip4StrConToInt(serIp, &uSerIp, true));
56 EXPECT_EQ(false, Ip4StrConToInt(serIp1, &uSerIp1, true));
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_function.cpp36 bool DhcpFunction::Ip4StrConToInt(const std::string& strIp, uint32_t& uIp, bool bHost) in Ip4StrConToInt() function in OHOS::DHCP::DhcpFunction
161 if (!Ip4StrConToInt(strIp, uIp)) { in CheckIpStr()
285 if (!Ip4StrConToInt(strIp, uIp, false) || !Ip4StrConToInt(strMask, uMask, false) || in CheckRangeNetwork()
286 !Ip4StrConToInt(strBegin, uBegin, false) || !Ip4StrConToInt(strEnd, uEnd, false)) { in CheckRangeNetwork()
H A Ddhcp_server_service_impl.cpp673 if (!DhcpFunction::Ip4StrConToInt(range.strStartip, uStartIp)) { in CheckIpAddrRange()
679 if (!DhcpFunction::Ip4StrConToInt(range.strEndip, uEndIp)) { in CheckIpAddrRange()
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_function_test.cpp46 EXPECT_EQ(true, DhcpFunction::Ip4StrConToInt(strIp, uSerIp));
54 EXPECT_EQ(false, DhcpFunction::Ip4StrConToInt(strIp, uSerIp));
58 EXPECT_EQ(false, DhcpFunction::Ip4StrConToInt(strIp, uSerIp));
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_function.h26 bool Ip4StrConToInt(const char *strIp, uint32_t *uIp, bool bHost);
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_function.h36 static bool Ip4StrConToInt(const std::string& strIp, uint32_t& uIp, bool bHost = true);
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_function.cpp38 bool Ip4StrConToInt(const char *strIp, uint32_t *uIp, bool bHost) in Ip4StrConToInt() function
248 if (!Ip4StrConToInt(strIp, &hostIp, true)) { in GetLocalIp()
H A Ddhcp_client_state_machine.cpp677 if (!Ip4StrConToInt(ipInfoCached.ipResult.strYiaddr, &lastAssignedIpv4Addr, false)) { in Reboot()
/ohos5.0/foundation/communication/dhcp/test/fuzztest/dhcpfunction_fuzzer/
H A Ddhcpfunction_fuzzer.cpp37 pDhcpFunction->Ip4StrConToInt(strIp, uIp, bHost); in Ip4StrConToIntTest()