Searched refs:ethInf (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_function.cpp | 228 int DhcpFunction::GetLocalMac(const std::string ethInf, std::string& ethMac) in GetLocalMac() argument 235 DHCP_LOGE("GetLocalMac socket ethInf:%{public}s,error:%{public}d!", ethInf.c_str(), errno); in GetLocalMac() 239 if (strncpy_s(ifr.ifr_name, IFNAMSIZ, ethInf.c_str(), IFNAMSIZ - 1) != EOK) { in GetLocalMac() 245 DHCP_LOGE("GetLocalMac ioctl ethInf:%{public}s,error:%{public}d!", ethInf.c_str(), errno); in GetLocalMac() 262 … DHCP_LOGE("GetLocalMac snprintf_s ethInf:%{public}s,error:%{public}d!", ethInf.c_str(), errno); in GetLocalMac()
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_function.h | 42 static int GetLocalMac(const std::string ethInf, std::string& ethMac);
|