Home
last modified time | relevance | path

Searched refs:pStrMac (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_function.h29 const char *MacChConToMacStr(const unsigned char *pChMac, size_t chLen, char *pStrMac, size_t strLen);
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_function.cpp118 const char *MacChConToMacStr(const unsigned char *pChMac, size_t chLen, char *pStrMac, size_t strLen) in MacChConToMacStr() argument
125 if ((pStrMac == NULL) || (strLen < (chLen * MAC_ADDR_CHAR_NUM))) { in MacChConToMacStr()
126 DHCP_LOGE("MacChConToMacStr failed, pStrMac == NULL or strLen:%{public}d error!", (int)strLen); in MacChConToMacStr()
132 char *pDest = pStrMac; in MacChConToMacStr()
134 /* The first character of pStrMac starts with a letter, not ':'. */ in MacChConToMacStr()
140 /* The last character of pStrMac ends with '\0'. */ in MacChConToMacStr()
142 return pStrMac; in MacChConToMacStr()

Completed in 2 milliseconds