Lines Matching defs:nRet
44 int nRet = inet_pton(AF_INET, strIp.c_str(), &addr4);
45 if (nRet != 1) {
46 DHCP_LOGE("Ip4StrConToInt strIp:%{private}s failed, nRet:%{public}d!", strIp.c_str(), nRet);
47 if (nRet == 0) {
96 int nRet = inet_pton(AF_INET6, strIp.c_str(), &addr6);
97 if (nRet != 1) {
98 DHCP_LOGE("Ip6StrConToChar inet_pton strIp:%{private}s failed, nRet:%{public}d!", strIp.c_str(), nRet);
99 if (nRet == 0) {