Searched refs:PacketTrace (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
D | NetworkTraceHandlerTest.cpp | 85 bool TraceAndSortPackets(const std::vector<PacketTrace>& input, in TraceAndSortPackets() 110 std::vector<PacketTrace> input = { in TEST_F() 111 PacketTrace{ in TEST_F() 135 std::vector<PacketTrace> input = { in TEST_F() 136 PacketTrace{ in TEST_F() 143 PacketTrace{ in TEST_F() 167 std::vector<PacketTrace> input = { in TEST_F() 168 PacketTrace{ in TEST_F() 175 PacketTrace{ in TEST_F() 208 std::vector<PacketTrace> input = { in TEST_F() [all …]
|
D | NetworkTracePollerTest.cpp | 68 const std::vector<PacketTrace>& data; 73 for (const PacketTrace& info : d.data) { in operator <<() 105 NetworkTracePoller handler([&](const std::vector<PacketTrace>& pkt) {}); in TEST_F() 118 NetworkTracePoller handler([&](const std::vector<PacketTrace>& pkt) {}); in TEST_F() 135 std::vector<PacketTrace> packets, unmatched; in TEST_F() 140 NetworkTracePoller handler([&](const std::vector<PacketTrace>& pkts) { in TEST_F() 141 for (const PacketTrace& pkt : pkts) { in TEST_F() 210 EXPECT_THAT(packets, Each(Field(&PacketTrace::ipProto, Eq(IPPROTO_TCP)))); in TEST_F()
|
D | NetworkTracePoller.cpp | 73 auto rb = BpfRingbuf<PacketTrace>::Create(PACKET_TRACE_RINGBUF_PATH); in Start() 125 void NetworkTracePoller::TraceIfaces(const std::vector<PacketTrace>& packets) { in TraceIfaces() 129 for (const PacketTrace& pkt : packets) { in TraceIfaces() 158 std::vector<PacketTrace> packets; in ConsumeAllLocked() 160 [&](const PacketTrace& pkt) { packets.push_back(pkt); }); in ConsumeAllLocked()
|
D | NetworkTraceHandler.cpp | 79 BundleKey::BundleKey(const PacketTrace& pkt) in BundleKey() 143 [](const std::vector<PacketTrace>& packets) { in __anonbecfadfa0102() 200 void NetworkTraceHandler::Write(const std::vector<PacketTrace>& packets, in Write() 204 for (const PacketTrace& pkt : packets) { in Write() 216 for (const PacketTrace& pkt : packets) { in Write()
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/include/netdbpf/ |
D | NetworkTracePoller.h | 41 using EventSink = std::function<void(const std::vector<PacketTrace>&)>; 67 void TraceIfaces(const std::vector<PacketTrace>& packets) REQUIRES(mMutex); 84 std::unique_ptr<BpfRingbuf<PacketTrace>> mRingBuffer GUARDED_BY(mMutex);
|
D | NetworkTraceHandler.h | 37 explicit BundleKey(const PacketTrace& pkt); 101 void Write(const std::vector<PacketTrace>& packets,
|
/packages/modules/Connectivity/bpf_progs/ |
D | netd.h | 90 } PacketTrace; typedef 91 STRUCT_SIZE(PacketTrace, 8+4+4 + 4+4 + 2+2 + 1+1+1+1);
|
D | netd.c | 113 DEFINE_BPF_RINGBUF_EXT(packet_trace_ringbuf, PacketTrace, PACKET_TRACE_BUF_SIZE, 260 PacketTrace* pkt = bpf_packet_trace_ringbuf_reserve(); in do_packet_tracing()
|