bpf_tcp_nogpl.c (411B)
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 9char _license[] SEC("license") = "X"; 10 11void BPF_STRUCT_OPS(nogpltcp_init, struct sock *sk) 12{ 13} 14 15SEC(".struct_ops") 16struct tcp_congestion_ops bpf_nogpltcp = { 17 .init = (void *)nogpltcp_init, 18 .name = "bpf_nogpltcp", 19};