1 | // SPDX-License-Identifier: GPL-2.0 |
---|---|
2 | |
3 | #include <linux/bpf.h> |
4 | #include <linux/types.h> |
5 | #include <bpf/bpf_helpers.h> |
6 | #include <bpf/bpf_tracing.h> |
7 | #include "bpf_tcp_helpers.h" |
8 | |
9 | char _license[] SEC("license") = "X"; |
10 | |
11 | void BPF_STRUCT_OPS(nogpltcp_init, struct sock *sk) |
12 | { |
13 | } |
14 | |
15 | SEC(".struct_ops") |
16 | struct tcp_congestion_ops bpf_nogpltcp = { |
17 | .init = (void *)nogpltcp_init, |
18 | .name = "bpf_nogpltcp", |
19 | }; |
20 |