Searched refs:ipProto (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
D | NetworkTraceHandlerTest.cpp | 116 .ipProto = IPPROTO_TCP, in TEST_F() 141 .ipProto = IPPROTO_TCP, in TEST_F() 148 .ipProto = IPPROTO_TCP, in TEST_F() 173 .ipProto = IPPROTO_ICMP, in TEST_F() 180 .ipProto = IPPROTO_ICMPV6, in TEST_F() 288 pkt.ipProto = IPPROTO_TCP; in TEST_F() 328 pkt.ipProto = IPPROTO_TCP; in TEST_F() 365 pkt.ipProto = IPPROTO_TCP; in TEST_F()
|
D | NetworkTraceHandler.cpp | 84 ipProto(pkt.ipProto), in BundleKey() 86 switch (ipProto) { in BundleKey() 106 (x).ifindex, (x).uid, (x).tag, (x).egress, (x).ipProto, (x).ipVersion, \ 287 event->set_ip_proto(src.ipProto); in Fill()
|
D | NetworkTracePollerTest.cpp | 81 os << ", proto=" << static_cast<int>(info.ipProto); in operator <<() 210 EXPECT_THAT(packets, Each(Field(&PacketTrace::ipProto, Eq(IPPROTO_TCP)))); in TEST_F()
|
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/ |
D | TetheringTester.java | 430 final int ipProto = isIpv4 ? IPPROTO_ICMP : IPPROTO_ICMPV6; in isExpectedIcmpPacket() local 431 if (!hasExpectedIpHeader(buf, isIpv4, ipProto)) return false; in isExpectedIcmpPacket() 453 int ipProto) throws Exception { in hasExpectedIpHeader() argument 455 return Struct.parse(Ipv4Header.class, buf).protocol == (byte) ipProto; in hasExpectedIpHeader() 457 return Struct.parse(Ipv6Header.class, buf).nextHeader == (byte) ipProto; in hasExpectedIpHeader() 691 final int ipProto = getIpProto(srcIp, dstIp); 694 final ByteBuffer buffer = PacketBuilder.allocate(hasEther, ipProto, IPPROTO_UDP, 704 if (ipProto == IPPROTO_IP) { 740 final int ipProto = getIpProto(srcIp, dstIp); 742 final ByteBuffer buffer = PacketBuilder.allocate(hasEther, ipProto, IPPROTO_TCP, [all …]
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/include/netdbpf/ |
D | NetworkTraceHandler.h | 44 uint8_t ipProto; member
|
/packages/modules/Connectivity/bpf_progs/ |
D | netd.h | 87 uint8_t ipProto; member
|
D | netd.c | 327 pkt->ipProto = proto; in do_packet_tracing()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 1084 byte ipProto = packet.get(); in decodeFullPacket() 1090 if (ipProto != IP_TYPE_UDP) { in decodeFullPacket() 1092 DhcpErrorEvent.L4_NOT_UDP, "Protocol not UDP: %d", ipProto); in decodeFullPacket()
|