Home
last modified time | relevance | path

Searched refs:DhcpRange (Results 1 - 24 of 24) sorted by relevance

/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_server_service_impl.h68 ErrCode PutDhcpRange(const std::string& tagName, const DhcpRange& range) override;
69 ErrCode RemoveDhcpRange(const std::string& tagName, const DhcpRange& range) override;
71 ErrCode SetDhcpRange(const std::string& ifname, const DhcpRange& range) override;
95 bool CheckIpAddrRange(const DhcpRange& range);
106 std::map<std::string, std::list<DhcpRange>> m_mapInfDhcpRange; /* dhcp server using ip range */
107 std::map<std::string, std::list<DhcpRange>> m_mapTagDhcpRange; /* dhcp server can be used ip range */
/foundation/communication/dhcp/frameworks/native/interfaces/
H A Di_dhcp_server.h46 virtual ErrCode PutDhcpRange(const std::string& tagName, const DhcpRange& range) = 0;
47 virtual ErrCode RemoveDhcpRange(const std::string& tagName, const DhcpRange& range) = 0;
49 virtual ErrCode SetDhcpRange(const std::string& ifname, const DhcpRange& range) = 0;
/foundation/communication/dhcp/interfaces/inner_api/
H A Ddhcp_server.h36 virtual ErrCode PutDhcpRange(const std::string& tagName, const DhcpRange& range) = 0;
37 virtual ErrCode RemoveDhcpRange(const std::string& tagName, const DhcpRange& range) = 0;
39 virtual ErrCode SetDhcpRange(const std::string& ifname, const DhcpRange& range) = 0;
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/
H A Dmock_dhcp_service.cpp77 DhcpErrorCode __real_SetDhcpRange(const char *ifname, const DhcpRange *range);
78 DhcpErrorCode __wrap_SetDhcpRange(const char *ifname, const DhcpRange *range) in __wrap_SetDhcpRange()
91 DhcpErrorCode __real_PutDhcpRange(const char *tagName, const DhcpRange *range);
92 DhcpErrorCode __wrap_PutDhcpRange(const char *tagName, const DhcpRange *range) in __wrap_PutDhcpRange()
H A Dmock_dhcp_service.h31 MOCK_METHOD2(PutDhcpRange, DhcpErrorCode(const char *tagName, const DhcpRange *range));
34 MOCK_METHOD2(SetDhcpRange, DhcpErrorCode(const char *ifname, const DhcpRange *range));
/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_server_impl.h41 ErrCode PutDhcpRange(const std::string& tagName, const DhcpRange& range) override;
42 ErrCode RemoveDhcpRange(const std::string& tagName, const DhcpRange& range) override;
44 ErrCode SetDhcpRange(const std::string& ifname, const DhcpRange& range) override;
H A Ddhcp_server_proxy.h51 ErrCode PutDhcpRange(const std::string& tagName, const DhcpRange& range) override;
52 ErrCode RemoveDhcpRange(const std::string& tagName, const DhcpRange& range) override;
54 ErrCode SetDhcpRange(const std::string& ifname, const DhcpRange& range) override;
H A Ddhcp_server_impl.cpp140 ErrCode DhcpServerImpl::PutDhcpRange(const std::string& tagName, const DhcpRange& range) in PutDhcpRange()
147 ErrCode DhcpServerImpl::RemoveDhcpRange(const std::string& tagName, const DhcpRange& range) in RemoveDhcpRange()
161 ErrCode DhcpServerImpl::SetDhcpRange(const std::string& ifname, const DhcpRange& range) in SetDhcpRange()
H A Ddhcp_server_proxy.cpp184 ErrCode DhcpServerProxy::SetDhcpRange(const std::string& ifname, const DhcpRange& range) in SetDhcpRange()
261 ErrCode DhcpServerProxy::PutDhcpRange(const std::string& tagName, const DhcpRange& range) in PutDhcpRange()
399 ErrCode DhcpServerProxy::RemoveDhcpRange(const std::string& tagName, const DhcpRange& range) in RemoveDhcpRange()
H A Ddhcp_server_proxy_lite.cpp281 ErrCode DhcpServerProxy::SetDhcpRange(const std::string& ifname, const DhcpRange& range) in SetDhcpRange()
366 ErrCode DhcpServerProxy::PutDhcpRange(const std::string& tagName, const DhcpRange& range) in PutDhcpRange()
486 ErrCode DhcpServerProxy::RemoveDhcpRange(const std::string& tagName, const DhcpRange& range) in RemoveDhcpRange()
/foundation/communication/dhcp/interfaces/kits/c/
H A Ddhcp_c_api.h70 DhcpErrorCode SetDhcpRange(const char *ifname, const DhcpRange *range);
72 DhcpErrorCode PutDhcpRange(const char *tagName, const DhcpRange *range);
H A Ddhcp_result_event.h62 typedef struct DhcpRange{ struct
69 }DhcpRange; typedef
/foundation/communication/dhcp/test/fuzztest/dhcpserverimpl_fuzzer/
H A Ddhcpserverimpl_fuzzer.cpp58 DhcpRange range; in PutDhcpRangeTest()
67 DhcpRange range; in RemoveDhcpRangeTest()
84 DhcpRange range; in SetDhcpRangeTest()
136 DhcpRange range; in CheckIpAddrRangeTest()
/foundation/communication/dhcp/frameworks/native/c_adapter/src/
H A Ddhcp_c_service.cpp156 NO_SANITIZE("cfi") DhcpErrorCode SetDhcpRange(const char *ifname, const DhcpRange *range) in SetDhcpRange()
164 OHOS::DHCP::DhcpRange rangeNew; in SetDhcpRange()
184 NO_SANITIZE("cfi") DhcpErrorCode PutDhcpRange(const char *tagName, const DhcpRange *range) in PutDhcpRange()
192 OHOS::DHCP::DhcpRange rangeNew; in PutDhcpRange()
219 return GetCErrorCode(dhcpServerPtr->RemoveDhcpRange(tagName, *(OHOS::DHCP::DhcpRange *)range)); in RemoveDhcpRange()
/foundation/communication/dhcp/interfaces/inner_api/include/
H A Ddhcp_define.h215 struct DhcpRange { struct
223 DhcpRange() in DhcpRange() function
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_stub.cpp173 DhcpRange range; in OnSetDhcpRange()
200 DhcpRange range; in OnRemoveDhcpRange()
250 DhcpRange range; in OnPutDhcpRange()
H A Ddhcp_server_stub_lite.cpp154 DhcpRange range; in OnSetDhcpRange()
184 DhcpRange range; in OnRemoveDhcpRange()
237 DhcpRange range; in OnPutDhcpRange()
H A Ddhcp_server_service_impl.cpp364 ErrCode DhcpServerServiceImpl::PutDhcpRange(const std::string& tagName, const DhcpRange& range) in PutDhcpRange()
409 std::list<DhcpRange> listDhcpRange; in PutDhcpRange()
418 ErrCode DhcpServerServiceImpl::RemoveDhcpRange(const std::string& tagName, const DhcpRange& range) in RemoveDhcpRange()
486 ErrCode DhcpServerServiceImpl::SetDhcpRange(const std::string& ifname, const DhcpRange& range) in SetDhcpRange()
525 std::list<DhcpRange> listDhcpRange; in SetDhcpRange()
704 bool DhcpServerServiceImpl::CheckIpAddrRange(const DhcpRange &range) in CheckIpAddrRange()
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_server_service_impl_test.cpp58 DhcpRange putRange; in HWTEST_F()
60 DhcpRange setRange; in HWTEST_F()
106 DhcpRange checkRange; in HWTEST_F()
/foundation/communication/dhcp/test/fuzztest/dhcpserver_fuzzer/
H A Ddhcpserver_fuzzer.cpp32 DhcpRange range; in DhcpServerFuzzerTest()
/foundation/communication/netmanager_ext/services/networksharemanager/include/
H A Dnetworkshare_sub_statemachine.h109 bool SetRange(DhcpRange &range, const std::string &ipHead, const std::string &strStartip,
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Ddhcp_controller.cpp138 DhcpRange range; in StartDhcpService()
/foundation/communication/netmanager_ext/services/networksharemanager/src/
H A Dnetworkshare_sub_statemachine.cpp779 DhcpRange range; in StartDhcp()
798 bool NetworkShareSubStateMachine::SetRange(DhcpRange &range, const std::string &ipHead, const std::string &strStartip, in SetRange()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Ddhcpd_interface.cpp34 const int MAX_STA_NUMBER = 254 - 3 + 1; /* from DhcpRange.strStartip to DhcpRange.strEndip. */
304 DhcpRange range; in CallAdapterSetRange()

Completed in 12 milliseconds