/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_server_callback_stub_lite.cpp | 109 void DhcpServreCallBackStub::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) in OnServerLeasesChanged() argument 113 userCallback_->OnServerLeasesChanged(ifname, leases); in OnServerLeasesChanged()
|
H A D | dhcp_server_callback_stub.cpp | 98 void DhcpServreCallBackStub::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) in OnServerLeasesChanged() argument 102 callback_->OnServerLeasesChanged(ifname, leases); in OnServerLeasesChanged()
|
H A D | dhcp_server_callback_stub.h | 51 virtual void OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) override;
|
H A D | dhcp_event.cpp | 226 void DhcpServerCallBack::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) in OnServerLeasesChanged() argument
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_server_stub.cpp | 218 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 D | dhcp_server_stub_lite.cpp | 204 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 D | dhcp_server_service_impl.cpp | 270 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 D | dhcp_server_callback_proxy_lite.cpp | 63 void DhcpServerCallbackProxy::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) in OnServerLeasesChanged() argument
|
H A D | dhcp_server_callback_proxy.cpp | 60 void DhcpServerCallbackProxy::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) in OnServerLeasesChanged() argument
|
/foundation/communication/dhcp/test/fuzztest/dhcpserverimpl_fuzzer/ |
H A D | dhcpserverimpl_fuzzer.cpp | 103 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 D | dhcp_server_service_impl_test.cpp | 138 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 D | i_dhcp_server_callback.h | 36 virtual void OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) = 0;
|
/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_server_callback_proxy.h | 40 void OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) override;
|
H A D | dhcp_server_service_impl.h | 74 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 D | dhcp_event.h | 59 void OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>& leases) override;
|
/foundation/communication/dhcp/interfaces/kits/c/ |
H A D | dhcp_result_event.h | 88 void (*OnServerLeasesChanged)(const char *ifname, const char *leases);
|