Searched defs:gateway (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/net/
H A DDhcpInfo.java27 public int gateway; field in class:DhcpInfo
43 gateway = source.gateway;
56 str.append(" gateway "); putAddress(str, gateway);
78 dest.writeInt(gateway);
92 info.gateway = in.readInt();
H A DStaticIpConfiguration.java51 public InetAddress gateway; field in class:StaticIpConfiguration
64 gateway = source.gateway;
72 gateway = null;
80 * default gateway is not covered by the directly-connected route, it will also contain a host
81 * route to the gateway as well. This configuration is arguably invalid, but it used to work
89 if (gateway != null && !connectedRoute.matches(gateway)) {
90 routes.add(RouteInfo.makeHostRoute(gateway, iface));
93 if (gateway !
[all...]
H A DRouteInfo.java40 * implied by the gateway IP address.
41 * <li>a gateway {@link InetAddress} indicating the next hop to use. If this is {@code null} it
45 * Either the destination or the gateway may be {@code null}, but not both. If the
46 * destination and gateway are both specified, they must be of the same address family
56 * The gateway address for this route.
88 * If destination is null, then gateway must be specified and the
90 * if the gateway is an instance of {@link Inet4Address}, or the IPv6 default
91 * route <code>::/0</code> if gateway is an instance of
94 * destination and gateway may not both be null.
97 * @param gateway th
102 RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) argument
163 RouteInfo(IpPrefix destination, InetAddress gateway, String iface) argument
170 RouteInfo(LinkAddress destination, InetAddress gateway, String iface) argument
191 RouteInfo(IpPrefix destination, InetAddress gateway) argument
200 RouteInfo(LinkAddress destination, InetAddress gateway) argument
211 RouteInfo(InetAddress gateway) argument
251 makeHostRoute(InetAddress host, InetAddress gateway, String iface) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_net_NetUtils.cpp36 const char *gateway,
47 const char *gateway,
102 char gateway[PROPERTY_VALUE_MAX]; local
118 result = ::dhcp_do_request_renew(nameStr, ipaddr, gateway, &prefixLength,
121 result = ::dhcp_do_request(nameStr, ipaddr, gateway, &prefixLength,
139 // set the gateway
141 dhcpResultsFieldIds.setGateway, env->NewStringUTF(gateway));
/frameworks/base/core/java/android/net/dhcp/
H A DDhcpPacket.java562 InetAddress gateway = null; // aka router
680 gateway = readIpAddress(packet);
794 newPacket.mGateway = gateway;
833 InetAddress gateway, List<InetAddress> dnsServers,
837 pkt.mGateway = gateway;
853 InetAddress gateway, List<InetAddress> dnsServers,
857 pkt.mGateway = gateway;
830 buildOfferPacket(int encap, int transactionId, boolean broadcast, InetAddress serverIpAddr, InetAddress clientIpAddr, byte[] mac, Integer timeout, InetAddress netMask, InetAddress bcAddr, InetAddress gateway, List<InetAddress> dnsServers, InetAddress dhcpServerIdentifier, String domainName) argument
850 buildAckPacket(int encap, int transactionId, boolean broadcast, InetAddress serverIpAddr, InetAddress clientIpAddr, byte[] mac, Integer timeout, InetAddress netMask, InetAddress bcAddr, InetAddress gateway, List<InetAddress> dnsServers, InetAddress dhcpServerIdentifier, String domainName) argument

Completed in 278 milliseconds