Home
last modified time | relevance | path

Searched refs:strEndip (Results 1 - 15 of 15) sorted by relevance

/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_service_impl.cpp399 (tagRange.strStartip != range.strStartip) || (tagRange.strEndip != range.strEndip)) { in PutDhcpRange()
439 (iterRange->strEndip == range.strEndip)) { in RemoveDhcpRange()
442 "range.iptype:%{public}d,strStartip:%{private}s,strEndip:%{private}s, erase.", in RemoveDhcpRange()
446 range.strEndip.c_str()); in RemoveDhcpRange()
503 if (DhcpFunction::CheckRangeNetwork(ifname, range.strStartip, range.strEndip) != DHCP_OPT_SUCCESS) { in SetDhcpRange()
573 if (DhcpFunction::CheckRangeNetwork(ifname, iterTagValue.strStartip, iterTagValue.strEndip) != in SetDhcpNameExt()
693 (iterRange.strStartip.size() == 0) || (iterRange.strEndip.size() == 0)) { in CheckAndUpdateConf()
695 "iptype:%{public}d,leaseHours:%{public}d,strStartip:%{private}s,strEndip in CheckAndUpdateConf()
[all...]
H A Ddhcp_server_stub.cpp178 range.strEndip = data.ReadString(); in OnSetDhcpRange()
205 range.strEndip = data.ReadString(); in OnRemoveDhcpRange()
255 range.strEndip = data.ReadString(); in OnPutDhcpRange()
H A Ddhcp_server_stub_lite.cpp160 range.strEndip = (char *)ReadString(req, &readLen); in OnSetDhcpRange()
190 range.strEndip = (char *)ReadString(req, &readLen); in OnRemoveDhcpRange()
243 range.strEndip = (char *)ReadString(req, &readLen); in OnPutDhcpRange()
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Ddhcp_controller.cpp135 std::string strEndip = ipHead + DEFAULT_STR_ENDIP; in StartDhcpService() local
150 if (strcpy_s(range.strEndip, INET_ADDRSTRLEN, strEndip.c_str()) != 0) { in StartDhcpService()
151 NETNATIVE_LOGE("strcpy_s strEndip failed!"); in StartDhcpService()
166 iface.c_str(), range.strTagName, range.strStartip, range.strEndip); in StartDhcpService()
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_server_service_impl_test.cpp72 setRange.strEndip = "192.168.2.200"; in HWTEST_F()
110 checkRange.strEndip = "192.168.1"; in HWTEST_F()
113 checkRange.strEndip = "192.168.1"; in HWTEST_F()
115 checkRange.strEndip = "192.168.0.1"; in HWTEST_F()
122 checkRange.strEndip = "fe80:fac8"; in HWTEST_F()
/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_server_proxy.cpp203 data.WriteString(range.strEndip); in SetDhcpRange()
207 "TagName:%{public}s Startip:%{public}s strEndip:%{public}s strSubnet:%{public}s", in SetDhcpRange()
209 range.strStartip.c_str(), range.strEndip.c_str(), range.strSubnet.c_str()); in SetDhcpRange()
279 data.WriteString(range.strEndip); in PutDhcpRange()
283 "strTagName:%{public}s strStartip:%{public}s strEndip:%{public}s strSubnet:%{public}s", in PutDhcpRange()
285 range.strStartip.c_str(), range.strEndip.c_str(), range.strSubnet.c_str()); in PutDhcpRange()
417 data.WriteString(range.strEndip); in RemoveDhcpRange()
421 "strTagName:%{public}s strStartip:%{public}s strEndip:%{public}s strSubnet:%{public}s", in RemoveDhcpRange()
423 range.strStartip.c_str(), range.strEndip.c_str(), range.strSubnet.c_str()); in RemoveDhcpRange()
H A Ddhcp_server_proxy_lite.cpp305 (void)WriteString(&request, range.strEndip.c_str()); in SetDhcpRange()
389 (void)WriteString(&request, range.strEndip.c_str()); in PutDhcpRange()
509 (void)WriteString(&request, range.strEndip.c_str()); in RemoveDhcpRange()
/foundation/communication/dhcp/interfaces/inner_api/include/
H A Ddhcp_define.h220 std::string strEndip; /* dhcp-range end ip */ member
229 strEndip = ""; in DhcpRange()
/foundation/communication/dhcp/frameworks/native/c_adapter/src/
H A Ddhcp_c_service.cpp167 rangeNew.strEndip = range->strEndip; in SetDhcpRange()
195 rangeNew.strEndip = range->strEndip; in PutDhcpRange()
/foundation/communication/dhcp/interfaces/kits/c/
H A Ddhcp_result_event.h67 char strEndip[INET_ADDRSTRLEN]; /* dhcp-range end ip */ member
/foundation/communication/dhcp/test/fuzztest/dhcpserver_fuzzer/
H A Ddhcpserver_fuzzer.cpp36 range.strEndip = std::string(reinterpret_cast<const char*>(data), size); in DhcpServerFuzzerTest()
/foundation/communication/netmanager_ext/services/networksharemanager/src/
H A Dnetworkshare_sub_statemachine.cpp777 std::string strEndip = ipHead + "." + endIp; in StartDhcp() local
781 if (!SetRange(range, ipHead, strStartip, strEndip, mask)) { in StartDhcp()
799 const std::string &strEndip, const std::string &mask) in SetRange()
811 if (strcpy_s(range.strEndip, INET_ADDRSTRLEN, strEndip.c_str()) != 0) { in SetRange()
812 NETMGR_EXT_LOG_E("strcpy_s strEndip failed!"); in SetRange()
822 ifaceName_.c_str(), range.strTagName, range.strStartip, range.strEndip); in SetRange()
798 SetRange(DhcpRange &range, const std::string &ipHead, const std::string &strStartip, const std::string &strEndip, const std::string &mask) SetRange() argument
/foundation/communication/netmanager_ext/services/networksharemanager/include/
H A Dnetworkshare_sub_statemachine.h110 const std::string &strEndip, const std::string &mask);
/foundation/communication/dhcp/test/fuzztest/dhcpserverimpl_fuzzer/
H A Ddhcpserverimpl_fuzzer.cpp140 range.strEndip = std::string(reinterpret_cast<const char*>(data), size); in CheckIpAddrRangeTest()
/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. */
306 || strcpy_s(range.strEndip, INET_ADDRSTRLEN, (ipHead + ".254").c_str()) != EOK in CallAdapterSetRange()

Completed in 11 milliseconds