1// SPDX-License-Identifier: GPL-2.0
2
3#ifndef _TEST_TCPBPF_H
4#define _TEST_TCPBPF_H
5
6struct tcpnotify_globals {
7 __u32 total_retrans;
8 __u32 ncalls;
9};
10
11struct tcp_notifier {
12 __u8 type;
13 __u8 subtype;
14 __u8 source;
15 __u8 hash;
16};
17
18#define TESTPORT 12877
19#endif
20

source code of linux/tools/testing/selftests/bpf/test_tcpnotify.h