FILE
bpf_tcp_nogpl.c
File preview with syntax highlighting.
linux-6.19.14/tools/testing/selftests/bpf/progs/bpf_tcp_nogpl.c
1// SPDX-License-Identifier: GPL-2.0 2 3#include "bpf_tracing_net.h" 4#include <bpf/bpf_tracing.h> 5 6char _license[] SEC("license") = "X"; 7 8SEC("struct_ops") 9void BPF_PROG(nogpltcp_init, struct sock *sk) 10{ 11} 12 13SEC(".struct_ops") 14struct tcp_congestion_ops bpf_nogpltcp = { 15 .init = (void *)nogpltcp_init, 16 .name = "bpf_nogpltcp", 17};
~/
Read-only file preview.