Lines Matching defs:nRet
46 int nRet = inet_pton(AF_INET, strIp, &addr4);
47 if (nRet != 1) {
48 DHCP_LOGE("Ip4StrConToInt strIp:%{private}s failed, inet_pton nRet:%{public}d!", strIp, nRet);
49 if (nRet == 0) {
98 int nRet = inet_pton(AF_INET6, strIp, &addr6);
99 if (nRet != 1) {
100 DHCP_LOGE("Ip6StrConToChar strIp:%{private}s failed, inet_pton nRet:%{public}d!", strIp, nRet);
101 if (nRet == 0) {