Home
last modified time | relevance | path

Searched refs:DHCP (Results 1 - 25 of 149) sorted by relevance

123456

/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_result.cpp33 OHOS::sptr<OHOS::DHCP::DhcpClientServiceImpl> clientImpl = OHOS::DHCP::DhcpClientServiceImpl::GetInstance(); in PublishDhcpIpv4Result()
35 std::shared_ptr<OHOS::DHCP::DhcpClientServiceImpl> clientImpl = OHOS::DHCP::DhcpClientServiceImpl::GetInstance(); in PublishDhcpIpv4Result()
43 if (clientImpl->DhcpIpv4ResultSuccess(ipResult) != OHOS::DHCP::DHCP_OPT_SUCCESS) { in PublishDhcpIpv4Result()
48 if (clientImpl->DhcpIpv4ResultTimeOut(ipResult.ifname) != OHOS::DHCP::DHCP_OPT_SUCCESS) { in PublishDhcpIpv4Result()
53 if (clientImpl->DhcpIpv4ResultExpired(ipResult.ifname) != OHOS::DHCP::DHCP_OPT_SUCCESS) { in PublishDhcpIpv4Result()
59 if (clientImpl->DhcpOfferResultSuccess(ipResult) != OHOS::DHCP::DHCP_OPT_SUCCESS) { in PublishDhcpIpv4Result()
65 if (clientImpl->DhcpIpv4ResultFail(ipResult) != OHOS::DHCP::DHCP_OPT_SUCCESS) { in PublishDhcpIpv4Result()
81 OHOS::sptr<OHOS::DHCP in DhcpIpv6TimerCallbackEvent()
[all...]
H A Ddhcp_client_service_impl.cpp44 namespace DHCP { namespace
177 OHOS::sptr<OHOS::DHCP::DhcpClientServiceImpl> clientServiceImpl = in StartServiceAbility()
178 OHOS::DHCP::DhcpClientServiceImpl::GetInstance(); in StartServiceAbility()
400 OHOS::DHCP::DhcpResult result; in DhcpIpv4ResultSuccess()
427 return OHOS::DHCP::DHCP_OPT_SUCCESS; in DhcpIpv4ResultSuccess()
434 return OHOS::DHCP::DHCP_OPT_FAILED; in DhcpIpv4ResultSuccess()
438 return OHOS::DHCP::DHCP_OPT_FAILED; in DhcpIpv4ResultSuccess()
441 return OHOS::DHCP::DHCP_OPT_SUCCESS; in DhcpIpv4ResultSuccess()
447 OHOS::DHCP::DhcpResult result; in DhcpOfferResultSuccess()
469 return OHOS::DHCP in DhcpOfferResultSuccess()
[all...]
H A Ddhcp_client_death_recipient.cpp21 namespace DHCP { namespace
26 } // namespace DHCP
/foundation/communication/dhcp/test/fuzztest/dhcpserverimpl_fuzzer/
H A Ddhcpserverimpl_fuzzer.cpp26 namespace DHCP { namespace
198 if ((data == nullptr) || (size <= OHOS::DHCP::U32_AT_SIZE_ZERO)) { in LLVMFuzzerTestOneInput()
202 OHOS::DHCP::OnStartTest(data, size); in LLVMFuzzerTestOneInput()
203 OHOS::DHCP::OnStopTest(data, size); in LLVMFuzzerTestOneInput()
204 OHOS::DHCP::StartDhcpServerTest(data, size); in LLVMFuzzerTestOneInput()
205 OHOS::DHCP::StopDhcpServerTest(data, size); in LLVMFuzzerTestOneInput()
206 OHOS::DHCP::PutDhcpRangeTest(data, size); in LLVMFuzzerTestOneInput()
207 OHOS::DHCP::RemoveDhcpRangeTest(data, size); in LLVMFuzzerTestOneInput()
208 OHOS::DHCP::RemoveAllDhcpRangeTest(data, size); in LLVMFuzzerTestOneInput()
209 OHOS::DHCP in LLVMFuzzerTestOneInput()
[all...]
/foundation/communication/dhcp/test/fuzztest/dhcpfunction_fuzzer/
H A Ddhcpfunction_fuzzer.cpp25 namespace DHCP { namespace
170 OHOS::DHCP::Ip4StrConToIntTest(data, size); in LLVMFuzzerTestOneInput()
171 OHOS::DHCP::Ip4IntConvertToStrTest(data, size); in LLVMFuzzerTestOneInput()
172 OHOS::DHCP::Ip6StrConToCharTest(data, size); in LLVMFuzzerTestOneInput()
173 OHOS::DHCP::CheckIpStrTest(data, size); in LLVMFuzzerTestOneInput()
174 OHOS::DHCP::IsExistFileTest(data, size); in LLVMFuzzerTestOneInput()
175 OHOS::DHCP::CreateFileTest(data, size); in LLVMFuzzerTestOneInput()
176 OHOS::DHCP::RemoveFileTest(data, size); in LLVMFuzzerTestOneInput()
177 OHOS::DHCP::AddFileLineDataTest(data, size); in LLVMFuzzerTestOneInput()
178 OHOS::DHCP in LLVMFuzzerTestOneInput()
[all...]
/foundation/communication/dhcp/test/fuzztest/serverstub_fuzzer/
H A Dserverstub_fuzzer.cpp28 namespace DHCP { namespace
173 if ((data == nullptr) || (size <= OHOS::DHCP::U32_AT_SIZE_ZERO)) { in LLVMFuzzerTestOneInput()
177 OHOS::DHCP::OnGetSupportedFeaturesTest(data, size); in LLVMFuzzerTestOneInput()
178 OHOS::DHCP::OnRegisterCallBackTest(data, size); in LLVMFuzzerTestOneInput()
179 OHOS::DHCP::OnStopDhcpServerTest(data, size); in LLVMFuzzerTestOneInput()
180 OHOS::DHCP::OnSetDhcpNameTest(data, size); in LLVMFuzzerTestOneInput()
181 OHOS::DHCP::OnSetDhcpRangeTest(data, size); in LLVMFuzzerTestOneInput()
182 OHOS::DHCP::OnRemoveAllDhcpRangeTest(data, size); in LLVMFuzzerTestOneInput()
183 OHOS::DHCP::OnRemoveDhcpRangeTest(data, size); in LLVMFuzzerTestOneInput()
184 OHOS::DHCP in LLVMFuzzerTestOneInput()
[all...]
/foundation/communication/dhcp/frameworks/native/include/
H A Ddhcp_event.h32 class DhcpClientCallBack : public OHOS::DHCP::IDhcpClientCallBack {
37 void OnIpSuccessChanged(int status, const std::string& ifname, OHOS::DHCP::DhcpResult& result) override;
40 void OnDhcpOfferReport(int status, const std::string& ifname, OHOS::DHCP::DhcpResult& result) override;
46 void ResultInfoCopy(DhcpResult &dhcpResult, OHOS::DHCP::DhcpResult& result);
53 class DhcpServerCallBack : public OHOS::DHCP::IDhcpServerCallBack {
H A Ddhcp_errcode.h19 namespace DHCP { namespace
29 } // namespace DHCP
/foundation/communication/dhcp/frameworks/native/c_adapter/src/
H A Ddhcp_c_service.cpp26 std::shared_ptr<OHOS::DHCP::DhcpClient> dhcpClientPtr = nullptr;
27 std::shared_ptr<OHOS::DHCP::DhcpServer> dhcpServerPtr = nullptr;
42 dhcpClientPtr = OHOS::DHCP::DhcpClient::GetInstance(DHCP_CLIENT_ABILITY_ID); in RegisterDhcpClientCallBack()
88 OHOS::DHCP::RouterConfig routerConfig; in SetConfiguration()
108 dhcpServerPtr = OHOS::DHCP::DhcpServer::GetInstance(DHCP_SERVER_ABILITY_ID); in RegisterDhcpServerCallBack()
128 dhcpServerPtr = OHOS::DHCP::DhcpServer::GetInstance(DHCP_SERVER_ABILITY_ID); in StartDhcpServer()
138 dhcpServerPtr = OHOS::DHCP::DhcpServer::GetInstance(DHCP_SERVER_ABILITY_ID); in StopDhcpServer()
159 dhcpServerPtr = OHOS::DHCP::DhcpServer::GetInstance(DHCP_SERVER_ABILITY_ID); in SetDhcpRange()
164 OHOS::DHCP::DhcpRange rangeNew; in SetDhcpRange()
176 dhcpServerPtr = OHOS::DHCP in SetDhcpName()
[all...]
/foundation/communication/dhcp/test/fuzztest/dhcpclientcbkstub_fuzzer/
H A Ddhcpclientcbkstub_fuzzer.cpp24 namespace DHCP { namespace
47 if ((data == nullptr) || (size <= OHOS::DHCP::U32_AT_SIZE_ZERO)) { in LLVMFuzzerTestOneInput()
50 OHOS::DHCP::OnGetSupportedFeaturesTest(data, size); in LLVMFuzzerTestOneInput()
53 } // namespace DHCP
/foundation/communication/dhcp/test/fuzztest/dhcpservercbkstub_fuzzer/
H A Ddhcpservercbkstub_fuzzer.cpp25 namespace DHCP { namespace
48 if ((data == nullptr) || (size <= OHOS::DHCP::U32_AT_SIZE_ZERO)) { in LLVMFuzzerTestOneInput()
51 OHOS::DHCP::OnGetSupportedFeaturesTest(data, size); in LLVMFuzzerTestOneInput()
54 } // namespace DHCP
/foundation/communication/dhcp/services/
H A Ddhcp_logger.h28 namespace DHCP { namespace
35 static constexpr OHOS::HiviewDFX::HiLogLabel DHCP_LOG_LABEL = {LOG_CORE, OHOS::DHCP::LOG_ID_DHCP_DHCP, name}
51 static constexpr OHOS::DHCP::LogLable DHCP_LOG_LABEL = {OHOS::DHCP::LOG_ID_DHCP_DHCP, name};
68 } // namespace DHCP
/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_result_store_manager_test.cpp47 DHCP::DhcpResultStoreManager::GetInstance().SaveIpInfoInLocalFile(ipInfoCached); in HWTEST_F()
60 DHCP::DhcpResultStoreManager::GetInstance().GetCachedIp(targetBssid, ipInfo); in HWTEST_F()
H A Ddhcp_result_test.cpp24 using namespace OHOS::DHCP;
26 namespace DHCP { namespace
H A Ddhcp_client_death_recipient_test.cpp20 namespace DHCP { namespace
H A Ddhcp_client_callback_proxy_test.cpp20 namespace DHCP { namespace
H A Ddhcp_client_stub_test.cpp20 namespace DHCP { namespace
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_dhcpd_test.cpp27 using namespace OHOS::DHCP;
29 namespace DHCP { namespace
H A Ddhcp_server_callback_proxy_test.cpp20 namespace DHCP { namespace
H A Ddhcp_server_death_recipient_test.cpp20 namespace DHCP { namespace
H A Ddhcp_server_stub_test.cpp20 namespace DHCP { namespace
/foundation/communication/dhcp/test/fuzztest/dhcpclient_fuzzer/
H A Ddhcpclient_fuzzer.cpp21 namespace DHCP { namespace
42 } // namespace DHCP
48 OHOS::DHCP::DhcpClientFuzzerTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_client_service_impl.h34 namespace DHCP { namespace
84 void PushDhcpResult(const std::string &ifname, OHOS::DHCP::DhcpResult &result);
85 bool CheckDhcpResultExist(const std::string &ifname, OHOS::DHCP::DhcpResult &result);
116 } // namespace DHCP
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_death_recipient.cpp20 namespace DHCP { namespace
25 } // namespace DHCP
/foundation/communication/dhcp/test/fuzztest/dhcpserver_fuzzer/
H A Ddhcpserver_fuzzer.cpp22 namespace DHCP { namespace
56 } // namespace DHCP
62 OHOS::DHCP::DhcpServerFuzzerTest(data, size); in LLVMFuzzerTestOneInput()

Completed in 8 milliseconds

123456