Home
last modified time | relevance | path

Searched refs:gateway (Results 1 – 25 of 174) sorted by relevance

1234567

/ohos5.0/docs/en/application-dev/reference/apis-network-kit/
H A D_net_conn___route.md22 | [gateway](#gateway) | Gateway address.|
23 | [hasGateway](#hasgateway) | Whether a gateway exists.|
41 ### gateway subsection
44 NetConn_NetAddr NetConn_Route::gateway
60 Whether a gateway exists.
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-debug-shell-net-ifconfig.md39 | gateway | 设置网关,后面跟网关参数,比如192.168.1.1。 | N/A |
57 - ifconfig eth0 192.168.100.31 netmask 255.255.255.0 gateway 192.168.100.1 hw ether 00:49:cb:6c:a1:…
71 …OHOS:/$ ifconfig eth0 192.168.100.31 netmask 255.255.255.0 gateway 192.168.100.1 hw ether 00:49:cb…
73 lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
76 eth0 ip:192.168.100.31 netmask:255.255.255.0 gateway:192.168.100.1
88 | gateway | 网关。 |
134 lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
137 eth0 ip:192.168.1.10 netmask:255.255.255.0 gateway:192.168.1.1
148 lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
151 eth0 ip:192.168.1.10 netmask:255.255.255.0 gateway:192.168.1.1
H A Dkernel-small-debug-shell-net-dhclient.md47 lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
50 eth0 ip:192.168.1.10 netmask:255.255.255.0 gateway:192.168.1.1
63 lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
66 eth0 ip:0.0.0.0 netmask:0.0.0.0 gateway:0.0.0.0
/ohos5.0/docs/zh-cn/application-dev/reference/apis-network-kit/
H A D_net_conn___route.md22 | [gateway](#gateway) | 网关地址。 |
41 ### gateway subsection
44 NetConn_NetAddr NetConn_Route::gateway
H A Djs-apis-net-ethernet-sys.md60 gateway: "192.168.xx.xxx",
124 gateway: "192.168.xx.xxx",
182 console.log("getIfaceConfig callback gateway = " + JSON.stringify(value.gateway));
235 console.log("getIfaceConfig promise gateway = " + JSON.stringify(data.gateway));
511 | gateway | string | 是 | 以太网连接配置网关信息,地址值范围0-255.0-255.0-255.0-255(DHCP模式无需配置)…
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-debug-shell-net-ifconfig.md43 | gateway | Specifies the gateway, for example, **192.168.1.1**.| N/A |
61 - ifconfig eth0 192.168.100.31 netmask 255.255.255.0 gateway 192.168.100.1 hw ether 00:49:cb:6c:a1:…
75 …OHOS:/$ ifconfig eth0 192.168.100.31 netmask 255.255.255.0 gateway 192.168.100.1 hw ether 00:49:cb…
77 lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
80 eth0 ip:192.168.100.31 netmask:255.255.255.0 gateway:192.168.100.1
92 | gateway | Gateway.|
96 | Default | Indicates that the NIC is connected to the default gateway.|
138 lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
141 eth0 ip:192.168.1.10 netmask:255.255.255.0 gateway:192.168.1.1
152 lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
[all …]
H A Dkernel-small-debug-shell-net-dhclient.md47 lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
50 eth0 ip:192.168.1.10 netmask:255.255.255.0 gateway:192.168.1.1
63 lo ip:127.0.0.1 netmask:255.0.0.0 gateway:127.0.0.1
66 eth0 ip:0.0.0.0 netmask:0.0.0.0 gateway:0.0.0.0
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_ipv6_event.cpp84 char gateway[DHCP_INET6_ADDRSTRLEN] = {0}; in parseNDRouteMessage() local
92 … if (GetIpFromS6Address(RTA_DATA(rtaInfo), rtmFamily, gateway, sizeof(gateway)) != 0) { in parseNDRouteMessage()
110 onIpv6RouteAddEvent(gateway, dst, ifindex); in parseNDRouteMessage()
130 char gateway[DHCP_INET6_ADDRSTRLEN] = {0}; in parseNewneighMessage() local
132 if (GetIpFromS6Address(addr, ndm->ndm_family, gateway, in parseNewneighMessage()
137 onIpv6RouteAddEvent(gateway, dst, ndm->ndm_ifindex); in parseNewneighMessage()
138 DHCP_LOGI("getIpv6RouteAddr: %{public}s", gateway); in parseNewneighMessage()
H A Ddhcp_ipv6_client.cpp399 void DhcpIpv6Client::onIpv6RouteAddEvent(char* gateway, char* dst, int ifaIndex) in onIpv6RouteAddEvent() argument
407 gateway, dst, ifaIndex); in onIpv6RouteAddEvent()
408 if (!gateway || !dst) { in onIpv6RouteAddEvent()
412 if (strlen(dst) == 0 && strlen(gateway) != 0) { in onIpv6RouteAddEvent()
415 … if (strncpy_s(dhcpIpv6Info.routeAddr, DHCP_INET6_ADDRSTRLEN, gateway, strlen(gateway)) != EOK) { in onIpv6RouteAddEvent()
/ohos5.0/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/
H A Dethernet_service_proxy_test.cpp82 INetAddr gateway; in GetIfaceConfig() local
83 gateway.type_ = INetAddr::IPV4; in GetIfaceConfig()
84 gateway.family_ = 0x01; in GetIfaceConfig()
85 gateway.prefixlen_ = 0x01; in GetIfaceConfig()
86 gateway.address_ = "172.17.4.1"; in GetIfaceConfig()
87 gateway.netMask_ = "0.0.0.0"; in GetIfaceConfig()
88 gateway.hostName_ = "netAddr"; in GetIfaceConfig()
89 ic->ipStatic_.gatewayList_.push_back(gateway); in GetIfaceConfig()
H A Dethernet_service_test.cpp80 INetAddr gateway; in GetIfaceConfig() local
81 gateway.type_ = INetAddr::IPV4; in GetIfaceConfig()
82 gateway.family_ = 0x01; in GetIfaceConfig()
83 gateway.prefixlen_ = 0x01; in GetIfaceConfig()
84 gateway.address_ = "172.17.4.1"; in GetIfaceConfig()
85 gateway.netMask_ = "0.0.0.0"; in GetIfaceConfig()
86 gateway.hostName_ = "netAddr"; in GetIfaceConfig()
87 ic->ipStatic_.gatewayList_.push_back(gateway); in GetIfaceConfig()
183 std::string gateway; variable
185 int ret = globalinterfacestatecallback.OnRouteChanged(updated, route, gateway, ifName);
H A Dethernet_lan_management_test.cpp70 INetAddr gateway; in GetNewIfaceConfig() local
71 gateway.type_ = INetAddr::IPV4; in GetNewIfaceConfig()
72 gateway.address_ = "10.14.0.1"; in GetNewIfaceConfig()
73 ic->ipStatic_.gatewayList_.push_back(gateway); in GetNewIfaceConfig()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/
H A D_setup_data_call_result_info_v10.md32 | String [gateway](#gateway) | 网关地址 |
100 ### gateway subsection
103 String SetupDataCallResultInfo::gateway
H A D_setup_data_call_result_info_v11.md32 | String [gateway](#gateway) | 网关地址 |
100 ### gateway subsection
103 String SetupDataCallResultInfo::gateway
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/etc/
H A Ddhcpd.conf.sample21 # Default gateway.
22 #gateway=192.168.150.254
44 gateway=192.168.150.255
58 #gateway=192.168.255.255
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/
H A Dwrapper_distributor.cpp150 const std::string &gateway = message->GetMessage(NetsysEventMessage::Type::GATEWAY); in HandleRouteChange() local
152 if (!route.empty() && (!gateway.empty() || !iface.empty())) { in HandleRouteChange()
153 … NotifyRouteChange((action == NetsysEventMessage::Action::ROUTEUPDATED), route, gateway, iface); in HandleRouteChange()
277 …rDistributor::NotifyRouteChange(bool updated, const std::string &route, const std::string &gateway, in NotifyRouteChange() argument
281 … updated ? "updated" : "removed", ToAnonymousIp(route).c_str(), ToAnonymousIp(gateway).c_str(), in NotifyRouteChange()
290 callback->OnRouteChanged(updated, route, gateway, ifName); in NotifyRouteChange()
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/
H A DBUILD.gn30 "monitor/gateway",
31 "monitor/gateway/executor",
32 "monitor/gateway/reporter",
39 "scene_data_processor/gateway",
/ohos5.0/docs/en/application-dev/network/
H A Dnet-ethernet.md5 …k attributes, such as the dynamically allocated IP address, subnet mask, gateway, and DNS. You can…
19 …ing a series of network attributes, such as the IP address, subnet mask, gateway, and DNS in DHCP …
20 - Configuring a series of network attributes, such as the IP address, subnet mask, gateway, and DNS…
72 console.log("getIfaceConfig promise gateway = " + JSON.stringify(data.gateway));
88 …o manually assign the network attributes (including the IP address, subnet mask, gateway, and DNS).
118 gateway: "192.168.xx.xxx",
136 console.log("getIfaceConfig promise gateway = " + JSON.stringify(data.gateway));
/ohos5.0/docs/zh-cn/application-dev/network/
H A Dnet-ethernet.md72 console.log("getIfaceConfig promise gateway = " + JSON.stringify(data.gateway));
118 gateway: "192.168.xx.xxx",
136 console.log("getIfaceConfig promise gateway = " + JSON.stringify(data.gateway));
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Darp_checker.cpp33 …Checker::Start(std::string& ifname, std::string& hwAddr, std::string& ipAddr, std::string& gateway) in Start() argument
35 m_dhcpArpChecker.Start(ifname, hwAddr, ipAddr, gateway); in Start()
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Droute.cpp78 sptr<INetAddr> gateway = INetAddr::Unmarshalling(parcel); in Unmarshalling() local
79 if (gateway == nullptr) { in Unmarshalling()
83 ptr->gateway_ = *gateway; in Unmarshalling()
/ohos5.0/foundation/communication/wifi/wifi/interfaces/kits/c/
H A Dwifi_device_config.h173 unsigned int gateway; member
284 char gateway[DEVICE_IPV6_MAX_LEN]; member
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_wrapper_test/
H A Dnetsys_wrapper_test.cpp42 int32_t OnRouteChanged(bool updated, const std::string &route, const std::string &gateway,
124 …eNotifyCallBack::OnRouteChanged(bool updated, const std::string &route, const std::string &gateway, in OnRouteChanged() argument
129 EXPECT_FALSE(gateway.empty()); in OnRouteChanged()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/
H A Dself_cure_state_machine.cpp321 gatewayInvalid = wifiIpInfo.gateway == 0 && wifiIpv6Info.gateway == ""; in TransitionToSelfCureState()
1344 std::string gateway = IpTools::ConvertIpv4Address(ipInfo.gateway); in GetRecordDhcpResults() local
1345 if (!pSelfCureStateMachine->DoSlowArpTest(gateway)) { in GetRecordDhcpResults()
2263 std::string gateway = IpTools::ConvertIpv4Address(dhcpResults.gateway); in GetLegalIpConfiguration() local
2304 if (ipInfo.gateway == 0) { in CanArpReachable()
2308 std::string gateway = IpTools::ConvertIpv4Address(ipInfo.gateway); in CanArpReachable() local
2329 std::string gateway = IpTools::ConvertIpv4Address(ipInfo.gateway); in DoSlowArpTest() local
2377 gwAddr = TransIpAddressToVec(gateway); in GetNextIpAddr()
3117 std::string gateway = ""; in GetCurrentGateway() local
3120 gateway = IpTools::ConvertIpv4Address(ipInfo.gateway); in GetCurrentGateway()
[all …]
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/vpn/src/context/
H A Dsetup_context.cpp265 napi_value gateway = NapiUtils::GetNamedProperty(env, jsRoute, NET_GATEWAY); in ParseGateway() local
266 if (NapiUtils::GetValueType(env, gateway) != napi_object) { in ParseGateway()
271 GetStringFromJsMandatoryItem(env, gateway, NET_ADDRESS, iNetAddr.address_); in ParseGateway()
273 if (!ParseAddressFamily(env, gateway, iNetAddr.family_)) { in ParseGateway()
276 GetUint8FromJsOptionItem(env, gateway, NET_PORT, iNetAddr.port_); in ParseGateway()

1234567