Home
last modified time | relevance | path

Searched refs:uIp (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/dhcp/services/utils/src/
H A Ddhcp_common_utils.cpp54 char *UintIp4ToStr(uint32_t uIp, bool bHost) in UintIp4ToStr() argument
59 addr4.s_addr = htonl(uIp); in UintIp4ToStr()
61 addr4.s_addr = uIp; in UintIp4ToStr()
169 std::string Ip4IntConvertToStr(uint32_t uIp, bool bHost) in Ip4IntConvertToStr() argument
174 addr4.s_addr = htonl(uIp); in Ip4IntConvertToStr()
176 addr4.s_addr = uIp; in Ip4IntConvertToStr()
181 DHCP_LOGE("Ip4IntConvertToStr uIp:%{private}u failed, inet_ntop nullptr!", uIp); in Ip4IntConvertToStr()
184 DHCP_LOGI("Ip4IntConvertToStr uIp:%{private}u -> strIp:%{private}s.", uIp, strIp.c_str()); in Ip4IntConvertToStr()
/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() argument
56 uIp = ntohl(addr4.s_addr); in Ip4StrConToInt()
58 uIp = addr4.s_addr; in Ip4StrConToInt()
64 std::string DhcpFunction::Ip4IntConvertToStr(uint32_t uIp, bool bHost) in Ip4IntConvertToStr() argument
69 addr4.s_addr = htonl(uIp); in Ip4IntConvertToStr()
71 addr4.s_addr = uIp; in Ip4IntConvertToStr()
160 uint32_t uIp = 0; in CheckIpStr() local
161 if (!Ip4StrConToInt(strIp, uIp)) { in CheckIpStr()
284 uint32_t uIp, uMask, uBegin, uEnd; in CheckRangeNetwork() local
291 if (!CheckSameNetwork(uIp, uBegin, uMask)) { in CheckRangeNetwork()
[all …]
/ohos5.0/foundation/communication/dhcp/services/utils/include/
H A Ddhcp_common_utils.h33 char *UintIp4ToStr(uint32_t uIp, bool bHost);
48 std::string Ip4IntConvertToStr(uint32_t uIp, bool bHost);
/ohos5.0/foundation/communication/dhcp/test/fuzztest/dhcpfunction_fuzzer/
H A Ddhcpfunction_fuzzer.cpp34 uint32_t uIp = static_cast<uint32_t>(data[index++]); in Ip4StrConToIntTest() local
37 pDhcpFunction->Ip4StrConToInt(strIp, uIp, bHost); in Ip4StrConToIntTest()
43 uint32_t uIp = static_cast<uint32_t>(data[index++]); in Ip4IntConvertToStrTest() local
45 pDhcpFunction->Ip4IntConvertToStr(uIp, bHost); in Ip4IntConvertToStrTest()
/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);
37 static std::string Ip4IntConvertToStr(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() argument
58 *uIp = ntohl(addr4.s_addr); in Ip4StrConToInt()
60 *uIp = addr4.s_addr; in Ip4StrConToInt()
/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/multimedia/av_codec/test/unittest/resources/video_res/test_cbr/720_1M/
H A Dvideo_6.ts78 Ci����Y&9 ��uIp��O+��z��q�s@*oA��w@�.9���U�!��"��9�h"F2�ld�ZK���o�������dׯ��y��!�J6��!�{;…