xref: /linux/tools/testing/selftests/bpf/progs/bpf_tcp_nogpl.c (revision daa121128a2d2ac6006159e2c47676e4fcd21eab)
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")
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