/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_server_service_impl.cpp | 399 (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 D | dhcp_server_stub.cpp | 178 range.strEndip = data.ReadString(); in OnSetDhcpRange() 205 range.strEndip = data.ReadString(); in OnRemoveDhcpRange() 255 range.strEndip = data.ReadString(); in OnPutDhcpRange()
|
H A D | dhcp_server_stub_lite.cpp | 160 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 D | dhcp_controller.cpp | 135 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 D | dhcp_server_service_impl_test.cpp | 72 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 D | dhcp_server_proxy.cpp | 203 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 D | dhcp_server_proxy_lite.cpp | 305 (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 D | dhcp_define.h | 220 std::string strEndip; /* dhcp-range end ip */ member 229 strEndip = ""; in DhcpRange()
|
/foundation/communication/dhcp/frameworks/native/c_adapter/src/ |
H A D | dhcp_c_service.cpp | 167 rangeNew.strEndip = range->strEndip; in SetDhcpRange() 195 rangeNew.strEndip = range->strEndip; in PutDhcpRange()
|
/foundation/communication/dhcp/interfaces/kits/c/ |
H A D | dhcp_result_event.h | 67 char strEndip[INET_ADDRSTRLEN]; /* dhcp-range end ip */ member
|
/foundation/communication/dhcp/test/fuzztest/dhcpserver_fuzzer/ |
H A D | dhcpserver_fuzzer.cpp | 36 range.strEndip = std::string(reinterpret_cast<const char*>(data), size); in DhcpServerFuzzerTest()
|
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_sub_statemachine.cpp | 777 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 D | networkshare_sub_statemachine.h | 110 const std::string &strEndip, const std::string &mask);
|
/foundation/communication/dhcp/test/fuzztest/dhcpserverimpl_fuzzer/ |
H A D | dhcpserverimpl_fuzzer.cpp | 140 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 D | dhcpd_interface.cpp | 34 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()
|