/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_server_callback_proxy.cpp | 66 void DhcpServerCallbackProxy::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) in OnServerSuccess() argument 77 data.WriteInt32(stationInfos.size()); in OnServerSuccess() 78 for (auto stationInfo: stationInfos) { in OnServerSuccess()
|
H A D | dhcp_server_callback_proxy_lite.cpp | 75 void DhcpServerCallbackProxy::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) in OnServerSuccess() argument
|
H A D | dhcp_server_service_impl.cpp | 271 std::vector<DhcpStationInfo> stationInfos; in DeviceInfoCallBack() local 273 ConvertLeasesToStationInfos(leases, stationInfos); in DeviceInfoCallBack() 277 (iter->second)->OnServerSuccess(ifname, stationInfos); in DeviceInfoCallBack() 290 std::vector<DhcpStationInfo>& stationInfos) in ConvertLeasesToStationInfos() 307 DHCP_LOGI("stationInfos deviceName:%{public}s", info.deviceName); in ConvertLeasesToStationInfos() 308 stationInfos.push_back(info); in ConvertLeasesToStationInfos() 289 ConvertLeasesToStationInfos(std::vector<std::string> &leases, std::vector<DhcpStationInfo>& stationInfos) ConvertLeasesToStationInfos() argument
|
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_server_callback_stub_lite.cpp | 117 void DhcpServreCallBackStub::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) in OnServerSuccess() argument 121 userCallback_->OnServerSuccess(ifname.c_str(), stationInfos); in OnServerSuccess()
|
H A D | dhcp_server_callback_stub.cpp | 106 void DhcpServreCallBackStub::OnServerSuccess(const std::string &ifname, std::vector<DhcpStationInfo> &stationInfos) in OnServerSuccess() argument 110 callback_->OnServerSuccess(ifname.c_str(), stationInfos); in OnServerSuccess()
|
H A D | dhcp_event.cpp | 236 void DhcpServerCallBack::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) in OnServerSuccess() argument 238 size_t size = stationInfos.size(); in OnServerSuccess() 250 if (strcpy_s(infos[i].ipAddr, sizeof(infos[i].ipAddr), stationInfos[i].ipAddr) != EOK) { in OnServerSuccess() 256 if (strcpy_s(infos[i].macAddr, sizeof(infos[i].macAddr), stationInfos[i].macAddr) != EOK) { in OnServerSuccess() 262 if (strcpy_s(infos[i].deviceName, sizeof(infos[i].deviceName), stationInfos[i].deviceName) != EOK) { in OnServerSuccess()
|
H A D | dhcp_server_callback_stub.h | 53 void OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) override;
|
/foundation/communication/dhcp/frameworks/native/interfaces/ |
H A D | i_dhcp_server_callback.h | 38 virtual void OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) = 0;
|
/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_server_callback_proxy.h | 42 void OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) override;
|
H A D | dhcp_server_service_impl.h | 101 void ConvertLeasesToStationInfos(std::vector<std::string> &leases, std::vector<DhcpStationInfo>& stationInfos);
|
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_server_service_impl_test.cpp | 208 std::vector<DhcpStationInfo> stationInfos; in HWTEST_F() local 209 pServerServiceImpl->ConvertLeasesToStationInfos(leases, stationInfos); in HWTEST_F() 212 pServerServiceImpl->ConvertLeasesToStationInfos(leases, stationInfos); in HWTEST_F()
|
/foundation/communication/dhcp/frameworks/native/include/ |
H A D | dhcp_event.h | 61 void OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& stationInfos) override;
|
/foundation/communication/dhcp/interfaces/kits/c/ |
H A D | dhcp_result_event.h | 90 void (*OnServerSuccess)(const char *ifname, DhcpStationInfo *stationInfos, size_t size);
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | p2p_state_machine.cpp | 940 DhcpStationInfo *stationInfos, size_t size) in OnDhcpServerSuccess() 946 gcInfo.mac = stationInfos[i].macAddr; in OnDhcpServerSuccess() 947 gcInfo.ip = stationInfos[i].ipAddr; in OnDhcpServerSuccess() 948 gcInfo.host = stationInfos[i].deviceName; in OnDhcpServerSuccess() 939 OnDhcpServerSuccess(const char *ifname, DhcpStationInfo *stationInfos, size_t size) OnDhcpServerSuccess() argument
|
H A D | p2p_state_machine.h | 67 static void OnDhcpServerSuccess(const char *ifname, DhcpStationInfo *stationInfos, size_t size);
|