Home
last modified time | relevance | path

Searched refs:newIp (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/print/print_fwk/utils/include/
H A Dscan_util.h43 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() argument
70 return std::regex_replace(deviceId, ipRegex, newIp); in ReplaceIpAddress()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/
H A Dself_cure_state_machine.cpp2357 uint32_t newIp = 0; in GetNextIpAddr() local
2376 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()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_connection_fsm.c1354 char *newIp = NULL; in IsWifiConnectInfoChanged() local
1356 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()