File Index
Files and directories
Sign in
FILE

tc_dummy.c

File preview with syntax highlighting.

linux-6.19.14/tools/testing/selftests/bpf/progs/tc_dummy.c C
 1// SPDX-License-Identifier: GPL-2.0
 2#include <linux/bpf.h>
 3#include <bpf/bpf_helpers.h>
 4#include "bpf_legacy.h"
 5
 6SEC("tc")
 7int entry(struct __sk_buff *skb)
 8{
 9	return 1;
10}
11
12char __license[] SEC("license") = "GPL";
~/ Read-only file preview.