Searched defs:gateway (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/core/java/android/net/ |
H A D | DhcpInfo.java | 27 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 D | StaticIpConfiguration.java | 50 public InetAddress gateway; field in class:StaticIpConfiguration 63 gateway = source.gateway; 71 gateway = null; 79 * default gateway is not covered by the directly-connected route, it will also contain a host 80 * route to the gateway as well. This configuration is arguably invalid, but it used to work 88 if (gateway != null && !connectedRoute.matches(gateway)) { 89 routes.add(RouteInfo.makeHostRoute(gateway, iface)); 92 if (gateway ! [all...] |
H A D | RouteInfo.java | 40 * 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/tests/net/java/android/net/dhcp/ |
H A D | DhcpPacketTest.java | 260 private void assertDhcpResults(String ipAddress, String gateway, String dnsServersString, argument 264 assertEquals(v4Address(gateway), dhcpResults.gateway);
|
Completed in 417 milliseconds