xref: /kernel/linux/linux-5.10/tools/testing/selftests/bpf/test_tcpbpf.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/tools/testing/selftests/bpf/
18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ci#ifndef _TEST_TCPBPF_H
48c2ecf20Sopenharmony_ci#define _TEST_TCPBPF_H
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cistruct tcpbpf_globals {
78c2ecf20Sopenharmony_ci	__u32 event_map;
88c2ecf20Sopenharmony_ci	__u32 total_retrans;
98c2ecf20Sopenharmony_ci	__u32 data_segs_in;
108c2ecf20Sopenharmony_ci	__u32 data_segs_out;
118c2ecf20Sopenharmony_ci	__u32 bad_cb_test_rv;
128c2ecf20Sopenharmony_ci	__u32 good_cb_test_rv;
138c2ecf20Sopenharmony_ci	__u64 bytes_received;
148c2ecf20Sopenharmony_ci	__u64 bytes_acked;
158c2ecf20Sopenharmony_ci	__u32 num_listen;
168c2ecf20Sopenharmony_ci	__u32 num_close_events;
178c2ecf20Sopenharmony_ci};
188c2ecf20Sopenharmony_ci#endif
19

Indexes created Thu Nov 07 10:32:03 CST 2024