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

/frameworks/base/core/java/android/net/
H A DDhcpInfo.java28 public int gateway; field in class:DhcpInfo
44 gateway = source.gateway;
57 str.append(" gateway "); putAddress(str, gateway);
79 dest.writeInt(gateway);
93 info.gateway = in.readInt();
H A DRouteInfo.java34 * - A gateway address (next-hop, for gatewayed routes), or
36 * - Both a gateway and an interface.
52 * The gateway address for this route.
68 * If destination is null, then gateway must be specified and the
70 * if @gateway is an instance of {@link Inet4Address}, or the IPv6 default
71 * route <code>::/0</code> if gateway is an instance of
74 * destination and gateway may not both be null.
77 * @param gateway the IP address to route packets through
80 public RouteInfo(LinkAddress destination, InetAddress gateway, String iface) { argument
82 if (gateway !
111 RouteInfo(LinkAddress destination, InetAddress gateway) argument
115 RouteInfo(InetAddress gateway) argument
127 makeHostRoute(InetAddress host, InetAddress gateway, String iface) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_net_NetUtils.cpp34 const char *gateway,
45 const char *gateway,
121 char gateway[PROPERTY_VALUE_MAX]; local
137 result = ::dhcp_do_request_renew(nameStr, ipaddr, gateway, &prefixLength,
140 result = ::dhcp_do_request(nameStr, ipaddr, gateway, &prefixLength,
162 // set the gateway
163 // dhcpResults->addGateway(gateway)
165 dhcpResultsFieldIds.addGateway, env->NewStringUTF(gateway));
/frameworks/base/core/java/android/net/dhcp/
H A DDhcpPacket.java565 InetAddress gateway = null; // aka router
683 gateway = readIpAddress(packet);
797 newPacket.mGateway = gateway;
836 InetAddress gateway, List<InetAddress> dnsServers,
840 pkt.mGateway = gateway;
856 InetAddress gateway, List<InetAddress> dnsServers,
860 pkt.mGateway = gateway;
833 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
853 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 3653 milliseconds