Home
last modified time | relevance | path

Searched refs:SetIpAddress (Results 1 - 25 of 34) sorted by relevance

12

/foundation/communication/netstack/frameworks/js/napi/socket/options/include/
H A Dnet_address.h38 void SetIpAddress(const std::string &address);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_network.h50 int SetIpAddress(int inetSocket);
H A Dpan_network.cpp72 ret = SetIpAddress(inetSocket); in Open()
154 int PanNetwork::SetIpAddress(int inetSocket) in SetIpAddress() function in OHOS::bluetooth::PanNetwork
/foundation/communication/netmanager_base/services/netmanagernative/include/manager/
H A Dinterface_manager.h112 static int SetIpAddress(const std::string &ifaceName, const std::string &ipAddress);
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dinterface_manager_test.cpp179 auto ret = InterfaceManager::SetIpAddress(ifaceName, ipAddress); in HWTEST_F()
183 ret = InterfaceManager::SetIpAddress(ifaceName, ipAddress); in HWTEST_F()
191 auto ret = InterfaceManager::SetIpAddress(ifaceName, ipAddress); in HWTEST_F()
396 auto ret = InterfaceManager::SetIpAddress(errName, ipAddr); in HWTEST_F()
H A Dmock_netsys_native_client_test.cpp226 int32_t ret = nativeClient_.SetIpAddress(socketFd, "", ifaceFd, ifRequest); in HWTEST_F()
H A Dnetsys_controller_service_impl_test.cpp272 ret32 = instance_->SetIpAddress(5, ipAddr, 23, ifRequest); in HWTEST_F()
501 ret = instance_->SetIpAddress(socketFd, "", prefixLen, ifRequest); in HWTEST_F()
705 result = instance_->SetIpAddress(socketFd, "", prefixLen, ifRequest); in HWTEST_F()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/
H A Dap_started_state.cpp84 m_hotspotConfig.SetIpAddress(AP_DEFAULT_IP); in GoOutState()
191 apConfig.SetIpAddress(AP_DEFAULT_IP); in SetConfig()
318 m_hotspotConfig.SetIpAddress(msg->GetStringFromMessage()); in ProcessCmdSetHotspotConfig()
H A Dap_state_machine.cpp132 hotspotConfig.SetIpAddress(ipv4.GetAddressWithString()); in StartDhcpServer()
/foundation/communication/wifi/wifi/frameworks/native/interfaces/
H A Dwifi_ap_msg.h152 inline void SetIpAddress(const std::string &newIpAddress) in SetIpAddress() function
/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/
H A Dtcp_server_listen_context.cpp55 address_.SetIpAddress(addr); in ParseParams()
H A Dbind_context.cpp54 address_.SetIpAddress(addr); in ParseParams()
H A Dmulticast_membership_context.cpp42 address_.SetIpAddress(addr); in ParseParams()
/foundation/communication/netstack/frameworks/js/napi/socket/options/src/
H A Dnet_address.cpp32 void NetAddress::SetIpAddress(const std::string &address) in SetIpAddress() function in OHOS::NetStack::Socket::NetAddress
/foundation/communication/netmanager_base/services/netsyscontroller/include/
H A Dmock_netsys_native_client.h70 constexpr const char *MOCK_SETIPADDRESS_API = "SetIpAddress";
422 int32_t SetIpAddress(int32_t socketFd, const std::string &ipAddress, int32_t prefixLen, struct ifreq &ifRequest);
H A Dnetsys_controller_service_impl.h527 int32_t SetIpAddress(int32_t socketFd, const std::string &ipAddress, int32_t prefixLen,
H A Di_netsys_controller_service.h556 virtual int32_t SetIpAddress(int32_t socketFd, const std::string &ipAddress, int32_t prefixLen,
H A Dnetsys_controller.h543 int32_t SetIpAddress(int32_t socketFd, const std::string &ipAddress, int32_t prefixLen, struct ifreq &ifRequest);
/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifihotspotimpl_fuzzer/
H A Dwifihotspotimpl_fuzzer.cpp147 cfg.SetIpAddress("192.168.8.100"); in IsValidHotspotConfigFuzzTest()
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_hotspot.cpp108 hotspotConfig.SetIpAddress(config->ipAddress); in GetHotspotConfigFromC()
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dnetsys_controller_service_impl.cpp546 int32_t NetsysControllerServiceImpl::SetIpAddress(int32_t socketFd, const std::string &ipAddress, int32_t prefixLen, in SetIpAddress() function in OHOS::NetManagerStandard::NetsysControllerServiceImpl
549 NETMGR_LOG_D("SetIpAddress"); in SetIpAddress()
551 return mockNetsysClient_.SetIpAddress(socketFd, ipAddress, prefixLen, ifRequest); in SetIpAddress()
553 return netsysClient_.SetIpAddress(socketFd, ipAddress, prefixLen, ifRequest); in SetIpAddress()
H A Dnetsys_controller.cpp850 int32_t NetsysController::SetIpAddress(int32_t socketFd, const std::string &ipAddress, int32_t prefixLen, in SetIpAddress() function in OHOS::NetManagerStandard::NetsysController
857 "The paramemters of SetIpAddress is failed, socketFd[%{public}d], " in SetIpAddress()
868 return netsysService_->SetIpAddress(socketFd, ipAddress, prefixLen, ifRequest); in SetIpAddress()
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dinterface_manager.cpp375 int InterfaceManager::SetIpAddress(const std::string &ifaceName, const std::string &ipAddress) in SetIpAddress() function in OHOS::nmd::InterfaceManager
/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifihotspotstub_fuzzer/
H A Dwifihotspotstub_fuzzer.cpp395 config.SetIpAddress(mDeviceAddress); in WifiHotspotServiceImplFuzzTest()
/foundation/communication/wifi/wifi/frameworks/js/napi/src/
H A Dwifi_napi_hotspot.cpp147 config.SetIpAddress(str); in GetHotspotconfigFromJs()

Completed in 18 milliseconds

12