Home
last modified time | relevance | path

Searched refs:tcpFlags (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DNetworkTracePollerTest.cpp85 os << ((info.tcpFlags & (1 << i)) ? kTcpFlagNames[i] : '.'); in operator <<()
216 EXPECT_EQ(packets[0].tcpFlags, FlagToHost(TCP_FLAG_SYN)) in TEST_F()
223 EXPECT_EQ(packets[1].tcpFlags, FlagToHost(TCP_FLAG_SYN)) in TEST_F()
229 EXPECT_EQ(packets[2].tcpFlags, FlagToHost(TCP_FLAG_SYN | TCP_FLAG_ACK)) in TEST_F()
235 EXPECT_EQ(packets[3].tcpFlags, FlagToHost(TCP_FLAG_SYN | TCP_FLAG_ACK)) in TEST_F()
DNetworkTraceHandler.cpp88 tcpFlags = pkt.tcpFlags; in BundleKey()
107 (x).tcpFlags, (x).localPort, (x).remotePort, (x).icmpType, (x).icmpCode
221 if (mDropTcpFlags) key.tcpFlags.reset(); in Write()
281 if (src.tcpFlags.has_value()) event->set_tcp_flags(*src.tcpFlags); in Fill()
DNetworkTraceHandlerTest.cpp117 .tcpFlags = 1, in TEST_F()
357 PacketTrace{.timestampNs = 1, .length = 1, .uid = 123, .tcpFlags = 1}, in TEST_F()
358 PacketTrace{.timestampNs = 2, .length = 2, .uid = 123, .tcpFlags = 2}, in TEST_F()
359 PacketTrace{.timestampNs = 3, .length = 3, .uid = 456, .tcpFlags = 1}, in TEST_F()
360 PacketTrace{.timestampNs = 4, .length = 4, .uid = 456, .tcpFlags = 2}, in TEST_F()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DPacketBuilder.java178 byte tcpFlags, short window, short urgentPointer) throws IOException { in writeTcpHeader() argument
181 (short) ((short) 0x5000 | ((byte) 0x3f & tcpFlags)) /* dataOffsetAndControlBits, in writeTcpHeader()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/include/netdbpf/
DNetworkTraceHandler.h47 std::optional<uint8_t> tcpFlags; member
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DEthernetTetheringTestBase.java706 @NonNull final InetAddress dstIp, short seq, short ack, byte tcpFlags, in sendDownloadPacketTcp() argument
720 tcpFlags, payload); in sendDownloadPacketTcp()
730 @NonNull final InetAddress dstIp, short seq, short ack, byte tcpFlags, in sendUploadPacketTcp() argument
743 LOCAL_PORT /* srcPort */, REMOTE_PORT /* dstPort */, seq, ack, tcpFlags, in sendUploadPacketTcp()
DTetheringTester.java739 final byte tcpFlags, @NonNull final ByteBuffer payload) throws Exception {
761 packetBuilder.writeTcpHeader(srcPort, dstPort, seq, ack, tcpFlags, WINDOW, URGENT_POINTER);
/packages/modules/Connectivity/bpf_progs/
Dnetd.h88 uint8_t tcpFlags; member
Dnetd.c328 pkt->tcpFlags = flags; in do_packet_tracing()