HomeSort by relevance Sort by last modified time
    Searched refs:gateway (Results 1 - 25 of 189) sorted by null

1 2 3 4 5 6 7 8

  /frameworks/base/core/java/android/net/
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 the IP address to route packets throug
    [all...]
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 != null)
    [all...]
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();
DhcpResults.java 71 if (gateway == null) gateway = orig.gateway;
164 gateway = NetworkUtils.numericToInetAddress(addrString);
  /hardware/libhardware_legacy/include/hardware_legacy/
wifi.h 117 * @param gateway return the gateway being used
126 int do_dhcp_request(int *ipaddr, int *gateway, int *mask,
  /system/core/include/netutils/
dhcp.h 30 char *gateway,
  /frameworks/base/services/core/java/com/android/server/net/
IpConfigStore.java 51 protected static final String GATEWAY_KEY = "gateway";
83 if (staticIpConfiguration.gateway != null) {
86 out.writeInt(1); // Have a gateway.
87 out.writeUTF(staticIpConfiguration.gateway.getHostAddress());
213 InetAddress gateway = null; local
216 gateway = NetworkUtils.numericToInetAddress(in.readUTF());
217 if (staticIpConfiguration.gateway == null) {
218 staticIpConfiguration.gateway = gateway;
220 loge("Duplicate gateway: " + gateway.getHostAddress())
    [all...]
  /frameworks/base/core/tests/coretests/src/android/net/
StaticIpConfigurationTest.java 38 private static final InetAddress GATEWAY = IpAddress("192.0.2.1");
51 assertNull(s.gateway);
71 s.gateway = GATEWAY;
109 s.gateway = GATEWAY;
138 s.gateway = DNS2;
160 s.gateway = GATEWAY;
161 RouteInfo defaultRoute = new RouteInfo(new IpPrefix("0.0.0.0/0"), GATEWAY, IFACE)
    [all...]
  /system/core/libnetutils/
dhcp_utils.c 91 char *gateway,
111 snprintf(prop_name, sizeof(prop_name), "%s.%s.gateway", DHCP_PROP_NAME_PREFIX, p2p_interface);
112 property_get(prop_name, gateway, NULL);
118 if (gateway[0] == '\0' || strncmp(gateway, "0.0.0.0", 7) == 0) {
119 //DHCP server is our best bet as gateway
120 strncpy(gateway, server, PROPERTY_VALUE_MAX);
176 char *gateway,
201 if (fill_ip_info(interface, ipaddr, gateway, prefixLength, dns,
  /bionic/libc/kernel/uapi/linux/
icmp.h 80 __be32 gateway; member in union:icmphdr::__anon490
  /development/ndk/platforms/android-21/include/linux/
icmp.h 80 __be32 gateway; member in union:icmphdr::__anon1555
  /development/ndk/platforms/android-3/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon2181
  /external/kernel-headers/original/uapi/linux/
icmp.h 77 __be32 gateway; member in union:icmphdr::__anon11157
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
icmp.h 77 __be32 gateway; member in union:icmphdr::__anon30882
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
icmp.h 77 __be32 gateway; member in union:icmphdr::__anon32796
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon36485
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon36839
  /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon37193
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon37601
  /prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon37975
  /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon38388
  /prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon38761
  /prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon39380
  /prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon39717
  /prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/
icmp.h 67 __u32 gateway; member in union:icmphdr::__anon40511

Completed in 1106 milliseconds

1 2 3 4 5 6 7 8