Searched refs:bufIp4 (Results 1 - 3 of 3) sorted by relevance
/foundation/communication/dhcp/services/utils/src/ |
H A D | dhcp_common_utils.cpp | 50 char bufIp4[INET_ADDRSTRLEN] = {0}; in UintIp4ToStr() local 57 const char *p = inet_ntop(AF_INET, &addr4, bufIp4, INET_ADDRSTRLEN); in UintIp4ToStr() 67 if (strncpy_s(strIp, INET_ADDRSTRLEN, bufIp4, strlen(bufIp4)) != EOK) { in UintIp4ToStr()
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_function.cpp | 66 char bufIp4[INET_ADDRSTRLEN] = {0}; in Ip4IntConvertToStr() local 75 if (inet_ntop(AF_INET, &addr4, bufIp4, INET_ADDRSTRLEN) == nullptr) { in Ip4IntConvertToStr() 78 strIp = bufIp4; in Ip4IntConvertToStr() 207 char bufIp4[INET_ADDRSTRLEN] = {0}; in GetLocalIp() local 208 if (inet_ntop(AF_INET, &(pSockIn->sin_addr), bufIp4, INET_ADDRSTRLEN) != nullptr) { in GetLocalIp() 209 strIp = bufIp4; in GetLocalIp()
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_function.cpp | 68 char bufIp4[INET_ADDRSTRLEN] = {0}; in Ip4IntConvertToStr() local 77 if (inet_ntop(AF_INET, &addr4, bufIp4, INET_ADDRSTRLEN) == nullptr) { in Ip4IntConvertToStr() 80 strIp = bufIp4; in Ip4IntConvertToStr()
|
Completed in 3 milliseconds