Home
last modified time | relevance | path

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

/foundation/communication/dhcp/frameworks/native/c_adapter/src/
H A Ddhcp_c_service.cpp27 std::shared_ptr<OHOS::DHCP::DhcpServer> dhcpServerPtr = nullptr; variable
107 if (dhcpServerPtr == nullptr) { in RegisterDhcpServerCallBack()
108 dhcpServerPtr = OHOS::DHCP::DhcpServer::GetInstance(DHCP_SERVER_ABILITY_ID); in RegisterDhcpServerCallBack()
110 CHECK_PTR_RETURN(dhcpServerPtr, DHCP_INVALID_PARAM); in RegisterDhcpServerCallBack()
122 return GetCErrorCode(dhcpServerPtr->RegisterDhcpServerCallBack(ifname, dhcpServerCallBack)); in RegisterDhcpServerCallBack()
127 if (dhcpServerPtr == nullptr) { in StartDhcpServer()
128 dhcpServerPtr = OHOS::DHCP::DhcpServer::GetInstance(DHCP_SERVER_ABILITY_ID); in StartDhcpServer()
131 CHECK_PTR_RETURN(dhcpServerPtr, DHCP_INVALID_PARAM); in StartDhcpServer()
132 return GetCErrorCode(dhcpServerPtr->StartDhcpServer(ifname)); in StartDhcpServer()
137 if (dhcpServerPtr in StopDhcpServer()
[all...]

Completed in 1 milliseconds