/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | NetdEventListenerServiceTest.java | 88 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 …]
|
D | IpConnectivityMetricsTest.java | 334 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/ |
D | ConntrackMessage.java | 104 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/ |
D | ConntrackMessageTest.java | 174 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/ |
D | NeighborAdvertisement.java | 93 @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/ |
D | RouterAdvertisementDaemonTest.java | 182 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/ |
D | BpfCoordinator.java | 1537 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/ |
D | NeighborAdvertisementTest.java | 178 assertEquals(IPV6_ADDR_ALL_ROUTERS_MULTICAST, na.ipv6Hdr.dstIp); in testGratuitousNa_parse()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 1520 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/ |
D | IpClientIntegrationTestCommon.java | 2878 assertEquals(IPV6_ADDR_ALL_ROUTERS_MULTICAST, na.ipv6Hdr.dstIp);
|