Home
last modified time | relevance | path

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

/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_server_callback_stub_lite.cpp109 void DhcpServreCallBackStub::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) in OnServerLeasesChanged() argument
113 userCallback_->OnServerLeasesChanged(ifname, leases); in OnServerLeasesChanged()
H A Ddhcp_server_callback_stub.cpp98 void DhcpServreCallBackStub::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) in OnServerLeasesChanged() argument
102 callback_->OnServerLeasesChanged(ifname, leases); in OnServerLeasesChanged()
H A Ddhcp_server_callback_stub.h51 virtual void OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) override;
H A Ddhcp_event.cpp226 void DhcpServerCallBack::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) in OnServerLeasesChanged() argument
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_stub.cpp218 std::vector<std::string> leases; in OnGetDhcpClientInfos() local
220 ErrCode ret = GetDhcpClientInfos(ifname, leases); in OnGetDhcpClientInfos()
226 int size = leases.size(); in OnGetDhcpClientInfos()
229 for (auto str : leases) { in OnGetDhcpClientInfos()
H A Ddhcp_server_stub_lite.cpp204 std::vector<std::string> leases; in OnGetDhcpClientInfos() local
206 ErrCode ret = GetDhcpClientInfos(ifname, leases); in OnGetDhcpClientInfos()
212 int size = leases.size(); in OnGetDhcpClientInfos()
215 for (auto str : leases) { in OnGetDhcpClientInfos()
H A Ddhcp_server_service_impl.cpp270 std::vector<std::string> leases; in DeviceInfoCallBack() local
272 GetDhcpClientInfos(ifname, leases); in DeviceInfoCallBack()
273 ConvertLeasesToStationInfos(leases, stationInfos); in DeviceInfoCallBack()
289 void DhcpServerServiceImpl::ConvertLeasesToStationInfos(std::vector<std::string> &leases, in ConvertLeasesToStationInfos() argument
293 for (const std::string& lease : leases) { in ConvertLeasesToStationInfos()
608 ErrCode DhcpServerServiceImpl::GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& leases) in GetDhcpClientInfos() argument
628 leases.clear(); in GetDhcpClientInfos()
637 leases.push_back(strTemp); in GetDhcpClientInfos()
641 DHCP_LOGI("GetDhcpClientInfos leases.size:%{public}d.", (int)leases in GetDhcpClientInfos()
[all...]
H A Ddhcp_server_callback_proxy_lite.cpp63 void DhcpServerCallbackProxy::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) in OnServerLeasesChanged() argument
H A Ddhcp_server_callback_proxy.cpp60 void DhcpServerCallbackProxy::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) in OnServerLeasesChanged() argument
/foundation/communication/dhcp/test/fuzztest/dhcpserverimpl_fuzzer/
H A Ddhcpserverimpl_fuzzer.cpp103 std::vector<std::string> leases; in GetDhcpClientInfosTest() local
104 leases.push_back(std::string(reinterpret_cast<const char*>(data), size)); in GetDhcpClientInfosTest()
105 pDhcpServerServiceImpl->GetDhcpClientInfos(ifname1, leases); in GetDhcpClientInfosTest()
106 pDhcpServerServiceImpl->GetDhcpClientInfos(ifname2, leases); in GetDhcpClientInfosTest()
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_server_service_impl_test.cpp138 std::string strTestData = "dhcp server leases file test"; in HWTEST_F()
207 std::vector<std::string> leases; in HWTEST_F() local
209 pServerServiceImpl->ConvertLeasesToStationInfos(leases, stationInfos); in HWTEST_F()
211 leases.push_back(leasesInfo); in HWTEST_F()
212 pServerServiceImpl->ConvertLeasesToStationInfos(leases, stationInfos); in HWTEST_F()
/foundation/communication/dhcp/frameworks/native/interfaces/
H A Di_dhcp_server_callback.h36 virtual void OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) = 0;
/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_server_callback_proxy.h40 void OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) override;
H A Ddhcp_server_service_impl.h74 ErrCode GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& leases) override;
101 void ConvertLeasesToStationInfos(std::vector<std::string> &leases, std::vector<DhcpStationInfo>& stationInfos);
/foundation/communication/dhcp/frameworks/native/include/
H A Ddhcp_event.h59 void OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) override;
/foundation/communication/dhcp/interfaces/kits/c/
H A Ddhcp_result_event.h88 void (*OnServerLeasesChanged)(const char *ifname, const char *leases);

Completed in 7 milliseconds