Home
last modified time | relevance | path

Searched refs:ipAddr (Results 126 - 150 of 167) sorted by relevance

1234567

/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_p2p_impl.h277 * @param ipAddr - applied ip address
280 ErrCode Hid2dRequestGcIp(const std::string& gcMac, std::string& ipAddr) override;
H A Dwifi_p2p_impl.cpp298 ErrCode WifiP2pImpl::Hid2dRequestGcIp(const std::string& gcMac, std::string& ipAddr) in Hid2dRequestGcIp() argument
302 return client_->Hid2dRequestGcIp(gcMac, ipAddr); in Hid2dRequestGcIp()
H A Dwifi_p2p_proxy.h268 * @param ipAddr - applied ip address
271 ErrCode Hid2dRequestGcIp(const std::string& gcMac, std::string& ipAddr) override;
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dp2p_interface.h282 * @param ipAddr - allocated ip address
285 virtual ErrCode Hid2dRequestGcIp(const std::string& gcMac, std::string& ipAddr) override;
H A Dwifi_p2p_service.h242 * @param ipAddr - allocated ip address
245 virtual ErrCode Hid2dRequestGcIp(const std::string& gcMac, std::string& ipAddr) override;
/foundation/communication/wifi/wifi/frameworks/native/interfaces/
H A Di_wifi_p2p.h269 * @param ipAddr - applied ip address
272 virtual ErrCode Hid2dRequestGcIp(const std::string& gcMac, std::string& ipAddr) = 0;
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p_sa/
H A Dwifi_p2p_service_impl.h278 * @param ipAddr - applied ip address
281 ErrCode Hid2dRequestGcIp(const std::string& gcMac, std::string& ipAddr) override;
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/
H A Dself_cure_state_machine.cpp1520 std::string ipAddr = pMultiGateway->GetGatewayIp(); in SelfcureForMultiGateway() local
1523 if (macString.empty() || ipAddr.empty()) { in SelfcureForMultiGateway()
1524 WIFI_LOGE("macString or ipAddr is nullptr"); in SelfcureForMultiGateway()
1533 pMultiGateway->SetStaticArp(ifaceName, ipAddr, macString); in SelfcureForMultiGateway()
1535 pMultiGateway->DelStaticArp(ifaceName, ipAddr); in SelfcureForMultiGateway()
2423 std::vector<uint32_t> ipAddr; in GetNextIpAddr() local
2430 ipAddr = TransIpAddressToVec(currentAddr); in GetNextIpAddr()
2449 if (newIp == (gwAddr[VEC_POS_3] & 0xFF) || newIp == (ipAddr[VEC_POS_3] & 0xFF)) { in GetNextIpAddr()
2464 ipAddr[VEC_POS_3] = newIp; in GetNextIpAddr()
2465 return TransVecToIpAddress(ipAddr); in GetNextIpAddr()
3344 std::string ipAddr = IpTools::ConvertIpv4Address(ipInfo.ipAddress); RequestArpConflictTest() local
[all...]
/foundation/CastEngine/castengine_wifi_display/services/impl/scene/wfd/
H A Dwfd_msg.h342 IPC_BIND_ATTR(deviceId, ipAddr, deviceName, primaryDeviceType, secondaryDeviceType)
345 std::string ipAddr; member
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_mock.cpp232 WifiErrorCode Hid2dRequestGcIp(const unsigned char gcMac[MAC_LEN], unsigned int ipAddr[IPV4_ARRAY_LEN]) in Hid2dRequestGcIp() argument
234 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->Hid2dRequestGcIp(gcMac, ipAddr); in Hid2dRequestGcIp()
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dconn_manager.cpp498 int ConnManager::CloseSocketsUid(const std::string &ipAddr, uint32_t uid) in CloseSocketsUid() argument
501 socketDiag.DestroyLiveSocketsWithUid(ipAddr, uid); in CloseSocketsUid()
/foundation/communication/wifi/wifi/interfaces/inner_api/
H A Dwifi_p2p_msg.h277 void SetGoIpAddress(const std::string &ipAddr);
279 void SetGcIpAddress(const std::string &ipAddr);
/foundation/communication/wifi/wifi/frameworks/js/napi/src/
H A Dwifi_napi_hotspot.cpp243 SetValueUtf8String(env, "ipAddress", StationInfo[idx].ipAddr.c_str(), result); in StationInfoToJsArray()
274 JsObjectToString(env, object, "ipAddress", WIFI_IP_MAX_LEN + 1, stationInfo.ipAddr); in JsObjToStationInfo()
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_function.cpp295 int SetLocalInterface(const char *ifname, uint32_t ipAddr, uint32_t netMask) in SetLocalInterface() argument
308 if (SetIpOrMask(ifname, fd, ipAddr, SIOCSIFADDR) != DHCP_OPT_SUCCESS) { in SetLocalInterface()
H A Ddhcp_client_service_impl.cpp695 const char* ipAddr = ipAddress.c_str(); in IsGlobalIPv6Address() local
696 int first = ipAddr[0]-'0'; in IsGlobalIPv6Address()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/
H A Dcoap_app.c322 static int32_t CoapCreateUdpServer(const char *ipAddr, int32_t port) in CoapCreateUdpServer() argument
341 localAddr.sin_addr.s_addr = inet_addr(ipAddr); in CoapCreateUdpServer()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/
H A Dlnn_net_ledger.c596 char ipAddr[IP_STR_MAX_LEN] = {0}; in SoftbusDumpPrintIp() local
599 if (LnnGetNodeKeyInfo(nodeInfo->networkId, key, (uint8_t *)ipAddr, IP_STR_MAX_LEN) != SOFTBUS_OK) { in SoftbusDumpPrintIp()
600 LNN_LOGE(LNN_LEDGER, "LnnGetNodeKeyInfo ipAddr failed"); in SoftbusDumpPrintIp()
603 DataMasking((char *)ipAddr, IP_STR_MAX_LEN, IP_DELIMITER, newIpAddr); in SoftbusDumpPrintIp()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnet_conn_service_test.cpp809 std::string ipAddr = "0.0.0.1"; in HWTEST_F() local
811 int32_t ret = NetConnService::GetInstance()->AddInterfaceAddress(ifName, ipAddr, prefixLength); in HWTEST_F()
818 std::string ipAddr = "0.0.0.1"; in HWTEST_F() local
820 int32_t ret = NetConnService::GetInstance()->DelInterfaceAddress(ifName, ipAddr, prefixLength); in HWTEST_F()
826 std::string ipAddr = "192.168.1.100"; in HWTEST_F() local
829 int32_t ret = NetConnService::GetInstance()->AddStaticArp(ipAddr, macAddr, ifName); in HWTEST_F()
835 std::string ipAddr = "192.168.1.100"; in HWTEST_F() local
838 int32_t ret = NetConnService::GetInstance()->DelStaticArp(ipAddr, macAddr, ifName); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/frameworks/innerkitsimpl/native/wfd/
H A Dwifi_display.cpp227 deviceInfo.ipAddr = data->ip; in OnInfo()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger.c213 const char *ipAddr = NULL; in NewBrBleDiscovered() local
219 ipAddr = LnnGetWiFiIp(newInfo); in NewBrBleDiscovered()
220 if (ipAddr == NULL) { in NewBrBleDiscovered()
224 if (strcmp(ipAddr, DEFAULT_IP) == 0 || strcmp(ipAddr, LOCAL_IP) == 0) { in NewBrBleDiscovered()
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/
H A Dlnn_lane_test.cpp1700 const char *ipAddr = "127.0.0.1"; in HWTEST_F() local
1714 LaneAddP2pAddress(networkId, ipAddr, portA); in HWTEST_F()
1715 LaneAddP2pAddress(networkId, ipAddr, portB); in HWTEST_F()
1716 LaneAddP2pAddressByIp(ipAddr, portB); in HWTEST_F()
1848 const char *ipAddr = "127.0.0.1"; in HWTEST_F() local
1868 LaneAddP2pAddress(networkId, ipAddr, port); in HWTEST_F()
1869 LaneAddP2pAddressByIp(ipAddr, port); in HWTEST_F()
1870 LaneUpdateP2pAddressByIp(ipAddr, networkId); in HWTEST_F()
2295 const char *ipAddr = "127.0.0.1"; in HWTEST_F() local
2306 if (strcpy_s(linkInfo.linkInfo.wlan.connInfo.addr, MAX_SOCKET_ADDR_LEN, ipAddr) ! in HWTEST_F()
2341 const char *ipAddr = "127.0.0.1"; HWTEST_F() local
[all...]
/foundation/CastEngine/castengine_wifi_display/tests/demo/wfd/
H A Dwfd_demo.cpp168 std::cout << "ip : " << deviceInfo.ipAddr.c_str() << '\n'; in OnDeviceState()
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_hotspot.cpp184 result->ipAddress = OHOS::Wifi::Ip2Number(each.ipAddr); in GetStaListFromCpp()
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_conn_service.cpp2409 int32_t NetConnService::AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr, in AddInterfaceAddress() argument
2412 return NetsysController::GetInstance().AddInterfaceAddress(ifName, ipAddr, prefixLength); in AddInterfaceAddress()
2415 int32_t NetConnService::DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, in DelInterfaceAddress() argument
2418 return NetsysController::GetInstance().DelInterfaceAddress(ifName, ipAddr, prefixLength); in DelInterfaceAddress()
2421 int32_t NetConnService::AddStaticArp(const std::string &ipAddr, const std::string &macAddr, in AddStaticArp() argument
2424 return NetsysController::GetInstance().AddStaticArp(ipAddr, macAddr, ifName); in AddStaticArp()
2427 int32_t NetConnService::DelStaticArp(const std::string &ipAddr, const std::string &macAddr, in DelStaticArp() argument
2430 return NetsysController::GetInstance().DelStaticArp(ipAddr, macAddr, ifName); in DelStaticArp()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap_sa/
H A Dwifi_hotspot_service_impl.cpp802 ss << " Station[" << idx << "].ipAddr: " << IpAnonymize(each.ipAddr) << "\n"; in StationsInfoDump()
820 ss << " BlockStation[" << idx << "].ipAddr: " << IpAnonymize(each.ipAddr) << "\n"; in StationsInfoDump()

Completed in 36 milliseconds

1234567