/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_server_service_impl.h | 68 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 D | i_dhcp_server.h | 46 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 D | dhcp_server.h | 36 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 D | mock_dhcp_service.cpp | 77 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 D | mock_dhcp_service.h | 31 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 D | dhcp_server_impl.h | 41 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 D | dhcp_server_proxy.h | 51 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 D | dhcp_server_impl.cpp | 140 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 D | dhcp_server_proxy.cpp | 184 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 D | dhcp_server_proxy_lite.cpp | 281 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 D | dhcp_c_api.h | 70 DhcpErrorCode SetDhcpRange(const char *ifname, const DhcpRange *range); 72 DhcpErrorCode PutDhcpRange(const char *tagName, const DhcpRange *range);
|
H A D | dhcp_result_event.h | 62 typedef struct DhcpRange{ struct 69 }DhcpRange; typedef
|
/foundation/communication/dhcp/test/fuzztest/dhcpserverimpl_fuzzer/ |
H A D | dhcpserverimpl_fuzzer.cpp | 58 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 D | dhcp_c_service.cpp | 156 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 D | dhcp_define.h | 215 struct DhcpRange { struct 223 DhcpRange() in DhcpRange() function
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_server_stub.cpp | 173 DhcpRange range; in OnSetDhcpRange() 200 DhcpRange range; in OnRemoveDhcpRange() 250 DhcpRange range; in OnPutDhcpRange()
|
H A D | dhcp_server_stub_lite.cpp | 154 DhcpRange range; in OnSetDhcpRange() 184 DhcpRange range; in OnRemoveDhcpRange() 237 DhcpRange range; in OnPutDhcpRange()
|
H A D | dhcp_server_service_impl.cpp | 364 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 D | dhcp_server_service_impl_test.cpp | 58 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 D | dhcpserver_fuzzer.cpp | 32 DhcpRange range; in DhcpServerFuzzerTest()
|
/foundation/communication/netmanager_ext/services/networksharemanager/include/ |
H A D | networkshare_sub_statemachine.h | 109 bool SetRange(DhcpRange &range, const std::string &ipHead, const std::string &strStartip,
|
/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | dhcp_controller.cpp | 138 DhcpRange range; in StartDhcpService()
|
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_sub_statemachine.cpp | 779 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 D | dhcpd_interface.cpp | 34 const int MAX_STA_NUMBER = 254 - 3 + 1; /* from DhcpRange.strStartip to DhcpRange.strEndip. */ 304 DhcpRange range; in CallAdapterSetRange()
|