Searched refs:staticIp (Results 1 - 5 of 5) sorted by relevance
/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/c_adapter/wificdevice_fuzzer/ |
H A D | wificdevice_fuzzer.cpp | 177 result.staticIp.ipAddress = static_cast<unsigned int>(data[index++]); in GetDeviceConfigsTest() 178 result.staticIp.gateway = static_cast<unsigned int>(data[index++]); in GetDeviceConfigsTest() 179 result.staticIp.netmask = static_cast<unsigned int>(data[index++]); in GetDeviceConfigsTest() 207 config.staticIp.ipAddress = static_cast<unsigned int>(data[index++]); in ConnectToDeviceTest() 208 config.staticIp.gateway = static_cast<unsigned int>(data[index++]); in ConnectToDeviceTest() 209 config.staticIp.netmask = static_cast<unsigned int>(data[index++]); in ConnectToDeviceTest()
|
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/ |
H A D | wifi_c_device.cpp | 130 static void GetStaticIpFromC(const IpConfig& ipConfig, OHOS::Wifi::StaticIpAddress& staticIp) in GetStaticIpFromC() argument 133 staticIp.ipAddress.address.addressIpv4 = ipConfig.ipAddress; in GetStaticIpFromC() 134 staticIp.gateway.addressIpv4 = ipConfig.gateway; in GetStaticIpFromC() 136 staticIp.dnsServer1.addressIpv4 = ipConfig.dnsServers[0]; in GetStaticIpFromC() 140 staticIp.dnsServer2.addressIpv4 = ipConfig.dnsServers[1]; in GetStaticIpFromC() 145 static void GetStaticIpFromCpp(const OHOS::Wifi::StaticIpAddress& staticIp, IpConfig& ipConfig) in GetStaticIpFromCpp() argument 148 ipConfig.ipAddress = staticIp.ipAddress.address.addressIpv4; in GetStaticIpFromCpp() 149 ipConfig.gateway = staticIp.gateway.addressIpv4; in GetStaticIpFromCpp() 151 ipConfig.dnsServers[0] = staticIp.dnsServer1.addressIpv4; in GetStaticIpFromCpp() 155 ipConfig.dnsServers[1] = staticIp in GetStaticIpFromCpp() [all...] |
/foundation/communication/wifi_lite/interfaces/wifiservice/ |
H A D | wifi_device_config.h | 177 IpConfig staticIp;
member
|
/foundation/communication/wifi/wifi/interfaces/kits/c/ |
H A D | wifi_device_config.h | 219 IpConfig staticIp; member
|
/foundation/communication/wifi/wifi/frameworks/js/napi/src/ |
H A D | wifi_napi_device.cpp | 413 NAPI_CALL(env, napi_has_named_property(env, object, "staticIp", &hasProperty)); in ConfigStaticIp() 415 WIFI_LOGE("ConfigStaticIp, Js has no property: staticIp."); in ConfigStaticIp() 418 napi_value staticIp; in ConfigStaticIp() local 422 napi_get_named_property(env, object, "staticIp", &staticIp); in ConfigStaticIp() 423 JsObjectToUint(env, staticIp, "ipAddress", in ConfigStaticIp() 426 JsObjectToUint(env, staticIp, "gateway", cppConfig.wifiIpConfig.staticIpAddress.gateway.addressIpv4); in ConfigStaticIp() 427 JsObjectToInt(env, staticIp, "prefixLength", cppConfig.wifiIpConfig.staticIpAddress.ipAddress.prefixLength); in ConfigStaticIp() 429 NAPI_CALL(env, napi_has_named_property(env, staticIp, "dnsServers", &hasProperty)); in ConfigStaticIp() 436 napi_get_named_property(env, staticIp, "dnsServer in ConfigStaticIp() [all...] |
Completed in 6 milliseconds