Searched refs:newIp (Results 1 – 3 of 3) sorted by relevance
43 static std::string ReplaceIpAddress(const std::string& deviceId, const std::string& newIp);67 inline std::string ScanUtil::ReplaceIpAddress(const std::string& deviceId, const std::string& newIp) in ReplaceIpAddress() argument70 return std::regex_replace(deviceId, ipRegex, newIp); in ReplaceIpAddress()
2357 uint32_t newIp = 0; in GetNextIpAddr() local2376 newIp = rand + iMIN; in GetNextIpAddr()2378 if (newIp == (gwAddr[VEC_POS_3] & 0xFF) || newIp == (ipAddr[VEC_POS_3] & 0xFF)) { in GetNextIpAddr()2383 if (newIp == (tmp[VEC_POS_3] & 0xFF)) { in GetNextIpAddr()2388 if (newIp > 0 && !reduplicate) { in GetNextIpAddr()2392 if (newIp > 1 && newIp <= iMAX && getCnt < GET_NEXT_IP_MAC_CNT) { in GetNextIpAddr()2393 ipAddr[VEC_POS_3] = newIp; in GetNextIpAddr()
1354 char *newIp = NULL; in IsWifiConnectInfoChanged() local1356 Anonymize(newNodeInfo->connectInfo.deviceIp, &newIp); in IsWifiConnectInfoChanged()1358 LNN_LOGI(LNN_BUILDER, "peer ip changed %{public}s -> %{public}s", oldIp, newIp); in IsWifiConnectInfoChanged()1359 AnonymizeFree(newIp); in IsWifiConnectInfoChanged()