Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 
0003 #include <linux/bpf.h>
0004 #include <linux/types.h>
0005 #include <bpf/bpf_helpers.h>
0006 #include <bpf/bpf_tracing.h>
0007 #include "bpf_tcp_helpers.h"
0008 
0009 char _license[] SEC("license") = "X";
0010 
0011 void BPF_STRUCT_OPS(nogpltcp_init, struct sock *sk)
0012 {
0013 }
0014 
0015 SEC(".struct_ops")
0016 struct tcp_congestion_ops bpf_nogpltcp = {
0017     .init           = (void *)nogpltcp_init,
0018     .name           = "bpf_nogpltcp",
0019 };