Home
last modified time | relevance | path

Searched refs:dstIp (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetdEventListenerServiceTest.java88 final String dstIp = "192.168.2.23"; in testWakeupEventLogging() local
104 wakeupEvent(iface, uids[0], v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupEventLogging()
107 wakeupEvent(iface, uids[3], v4, icmp6, mac, srcIp, dstIp, sport, dport, now); in testWakeupEventLogging()
109 wakeupEvent(iface, uids[5], v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupEventLogging()
131 wakeupEvent(iface, uid, 0x800, 6, mac, srcIp, dstIp, 23, 24, ts); in testWakeupEventLogging()
147 wakeupEvent(iface, uid, 0x800, 6, mac, srcIp, dstIp, 23, 24, now); in testWakeupEventLogging()
160 final String dstIp = "192.168.2.23"; in testWakeupStatsLogging() local
173 wakeupEvent("wlan0", 1000, v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupStatsLogging()
174 wakeupEvent("rmnet0", 10123, v4, tcp, mac, srcIp, dstIp, sport, dport, now); in testWakeupStatsLogging()
175 wakeupEvent("wlan0", 1000, v4, udp, mac, srcIp, dstIp, sport, dport, now); in testWakeupStatsLogging()
[all …]
DIpConnectivityMetricsTest.java334 final String dstIp = "192.168.2.23"; in testEndToEndLogging() local
341 wakeupEvent("wlan0", 1000, v4, tcp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
342 wakeupEvent("wlan0", 10123, v4, tcp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
343 wakeupEvent("wlan0", 1000, v4, udp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
344 wakeupEvent("wlan0", 10008, v4, udp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
345 wakeupEvent("wlan0", -1, v4, udp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
346 wakeupEvent("wlan0", 10008, v4, tcp, mac, srcIp, dstIp, sport, dport, 1001L); in testEndToEndLogging()
609 String dstIp, int sport, int dport, long now) throws Exception { in wakeupEvent() argument
611 mNetdListener.onWakeupEvent(prefix, uid, ether, ip, mac, srcIp, dstIp, sport, dport, now); in wakeupEvent()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DConntrackMessage.java104 public final Inet4Address dstIp; field in ConntrackMessage.Tuple
115 this.dstIp = ip.dst; in Tuple()
127 && Objects.equals(this.dstIp, that.dstIp) in equals()
135 return Objects.hash(srcIp, dstIp, srcPort, dstPort, protoNum); in hashCode()
141 final String dstIpStr = (dstIp == null) ? "null" : dstIp.getHostAddress(); in toString()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DConntrackMessageTest.java174 conntrackMessage.tupleOrig.dstIp); in testConntrackParseIPv4TcpTimeoutUpdate()
223 conntrackMessage.tupleOrig.dstIp); in testConntrackParseIPv4UdpTimeoutUpdate()
317 conntrackMessage.tupleOrig.dstIp); in testParseCtNew()
325 conntrackMessage.tupleReply.dstIp); in testParseCtNew()
/packages/modules/NetworkStack/src/com/android/networkstack/packets/
DNeighborAdvertisement.java93 @NonNull final Inet6Address dstIp, int flags, @NonNull final Inet6Address target) { in build() argument
95 return Ipv6Utils.buildNaPacket(srcMac, dstMac, srcIp, dstIp, flags, target, tlla); in build()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java182 assertEquals(ipv6Hdr.dstIp, IPV6_ADDR_ALL_NODES_MULTICAST); in isPacketMatched()
186 assertTrue(ipv6Hdr.dstIp.isLinkLocalAddress()); in isPacketMatched()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java1537 e.tupleOrig.dstIp.getAddress(), e.tupleOrig.srcPort, e.tupleOrig.dstPort); in makeTetherUpstream4Key()
1545 e.tupleReply.dstIp.getAddress(), e.tupleReply.srcPort, e.tupleReply.dstPort); in makeTetherDownstream4Key()
1554 NetworkStackConstants.ETHER_MTU, toIpv4MappedAddressBytes(e.tupleReply.dstIp), in makeTetherUpstream4Value()
1564 toIpv4MappedAddressBytes(e.tupleOrig.dstIp), in makeTetherDownstream4Value()
1574 final Integer upstreamIndex = mIpv4UpstreamIndices.get(e.tupleReply.dstIp); in accept()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/packets/
DNeighborAdvertisementTest.java178 assertEquals(IPV6_ADDR_ALL_ROUTERS_MULTICAST, na.ipv6Hdr.dstIp); in testGratuitousNa_parse()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1520 final Inet6Address dstIp = IPV6_ADDR_ALL_ROUTERS_MULTICAST; in sendGratuitousNA() local
1522 final MacAddress dstMac = NetworkStackUtils.ipv6MulticastToEthernetMulticast(dstIp); in sendGratuitousNA()
1524 srcIp, dstIp, flags, targetIp); in sendGratuitousNA()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java2878 assertEquals(IPV6_ADDR_ALL_ROUTERS_MULTICAST, na.ipv6Hdr.dstIp);