Searched refs:Ip4StrConToInt (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | mock_custom_func.cpp | 74 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 D | dhcp_function_test.cpp | 45 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 D | dhcp_function.cpp | 36 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 D | dhcp_server_service_impl.cpp | 673 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 D | dhcp_function_test.cpp | 46 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 D | dhcp_function.h | 26 bool Ip4StrConToInt(const char *strIp, uint32_t *uIp, bool bHost);
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_function.h | 36 static bool Ip4StrConToInt(const std::string& strIp, uint32_t& uIp, bool bHost = true);
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_function.cpp | 38 bool Ip4StrConToInt(const char *strIp, uint32_t *uIp, bool bHost) in Ip4StrConToInt() function 248 if (!Ip4StrConToInt(strIp, &hostIp, true)) { in GetLocalIp()
|
H A D | dhcp_client_state_machine.cpp | 677 if (!Ip4StrConToInt(ipInfoCached.ipResult.strYiaddr, &lastAssignedIpv4Addr, false)) { in Reboot()
|
/ohos5.0/foundation/communication/dhcp/test/fuzztest/dhcpfunction_fuzzer/ |
H A D | dhcpfunction_fuzzer.cpp | 37 pDhcpFunction->Ip4StrConToInt(strIp, uIp, bHost); in Ip4StrConToIntTest()
|