Home
last modified time | relevance | path

Searched refs:mGateway (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DRouteInfo.java80 private final InetAddress mGateway; field in RouteInfo
224 mGateway = gateway; // InetAddress objects are immutable. in RouteInfo()
387 return mGateway; in getGateway()
531 if (mGateway != null) val += " " + mGateway.getHostAddress(); in toString()
553 Objects.equals(mGateway, target.getGateway()) && in equals()
570 @Nullable private final InetAddress mGateway; field in RouteInfo.RouteKey
576 mGateway = gateway; in RouteKey()
591 && Objects.equals(p.mGateway, mGateway) in equals()
597 return Objects.hash(mDestination, mGateway, mInterface); in hashCode()
609 return new RouteKey(mDestination, mGateway, mInterface); in getRouteKey()
[all …]
DStaticIpConfiguration.java118 private InetAddress mGateway; field in StaticIpConfiguration.Builder
145 mGateway = gateway; in setGateway()
185 config.gateway = mGateway; in build()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DRtNetlinkRouteMessage.java78 private InetAddress mGateway; field in RtNetlinkRouteMessage
93 mGateway = gateway; in RtNetlinkRouteMessage()
148 return mGateway; in getGateway()
234 routeMsg.mGateway = nlAttr.getValueAsInetAddress(); in parse()
236 if (routeMsg.mGateway == null) return null; in parse()
238 if (!matchRouteAddressFamily(routeMsg.mGateway, rtmFamily)) return null; in parse()
301 if (mGateway != null) { in pack()
302 final StructNlAttr gateway = new StructNlAttr(RTA_GATEWAY, mGateway.getAddress()); in pack()
333 + "gateway{" + (mGateway == null ? "" : mGateway.getHostAddress()) + "}, " in toString()