xref: /linux/tools/testing/selftests/bpf/progs/bpf_tcp_nogpl.c (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include "bpf_tracing_net.h"
4 #include <bpf/bpf_tracing.h>
5 
6 char _license[] SEC("license") = "X";
7 
8 SEC("struct_ops")
BPF_PROG(nogpltcp_init,struct sock * sk)9 void BPF_PROG(nogpltcp_init, struct sock *sk)
10 {
11 }
12 
13 SEC(".struct_ops")
14 struct tcp_congestion_ops bpf_nogpltcp = {
15 	.init           = (void *)nogpltcp_init,
16 	.name           = "bpf_nogpltcp",
17 };
18