Lines Matching defs:DhcpController
28 DhcpController *DhcpController::DhcpControllerResultNotify::dhcpController_ = nullptr;
30 DhcpController::DhcpControllerResultNotify::DhcpControllerResultNotify() {}
32 DhcpController::DhcpControllerResultNotify::~DhcpControllerResultNotify() {}
34 void DhcpController::DhcpControllerResultNotify::SetDhcpController(DhcpController *dhcpController)
39 void DhcpController::DhcpControllerResultNotify::OnSuccess(int status, const char *ifname,
47 "Enter DhcpController::DhcpControllerResultNotify::OnSuccess "
61 void DhcpController::DhcpControllerResultNotify::OnFailed(int status, const char *ifname,
64 NETNATIVE_LOGE("Enter DhcpController::DhcpControllerResultNotify::OnFailed");
67 DhcpController::DhcpController()
72 DhcpController::~DhcpController() {}
74 int32_t DhcpController::RegisterNotifyCallback(sptr<OHOS::NetsysNative::INotifyCallback> &callback)
76 NETNATIVE_LOGI("DhcpController RegisterNotifyCallback");
81 void DhcpController::StartClient(const std::string &iface, bool bIpv6)
91 NETNATIVE_LOGI("DhcpController StartDhcpClient iface[%{public}s] ipv6[%{public}d]", iface.c_str(), bIpv6);
97 void DhcpController::StopClient(const std::string &iface, bool bIpv6)
99 NETNATIVE_LOGI("DhcpController StopDhcpClient iface[%{public}s] ipv6[%{public}d]", iface.c_str(), bIpv6);
105 void DhcpController::Process(const std::string &iface, DhcpResult *result)
107 NETNATIVE_LOGI("DhcpController Process");
120 NETNATIVE_LOGI("DhcpController Process iface[%{public}s]", iface.c_str());
124 bool DhcpController::StartDhcpService(const std::string &iface, const std::string &ipv4addr)
174 bool DhcpController::StopDhcpService(const std::string &iface)