Searched refs:hostIp (Results 1 – 2 of 2) sorted by relevance
42 std::string hostIp = serverIp.empty() ? IP_V4_DEFAULT : serverIp; in InitIpPool() local43 if (!IsValidIp(hostIp)) { in InitIpPool()47 std::string serverIpHead = hostIp.substr(0, hostIp.find_last_of("\\.")); in InitIpPool()
259 uint32_t hostIp = 0; in GetLocalIp() local260 if (!Ip4StrConToInt(strIp, &hostIp, true)) { in GetLocalIp()264 …GI("GetLocalIp() %{public}s, AF_INET str:%{private}s -> host:%{private}u.", ifname, strIp, hostIp); in GetLocalIp()265 *ifaddr4 = hostIp; in GetLocalIp()