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