xref: /linux/tools/testing/selftests/bpf/test_tcpnotify.h (revision da4fd657730c9510b848ef7a9cc7247bbb6a44c9)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #ifndef _TEST_TCPBPF_H
4 #define _TEST_TCPBPF_H
5 
6 struct tcpnotify_globals {
7 	__u32 total_retrans;
8 	__u32 ncalls;
9 };
10 
11 struct tcp_notifier {
12 	__u8    type;
13 	__u8    subtype;
14 	__u8    source;
15 	__u8    hash;
16 };
17 
18 #define	TESTPORT	12877
19 #endif
20