xref: /linux/tools/testing/selftests/bpf/progs/test_tc_bpf.c (revision 3149733584c8f0ab828eada539df7aa488c023a9)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/bpf.h>
4 #include <bpf/bpf_helpers.h>
5 
6 /* Dummy prog to test TC-BPF API */
7 
8 SEC("classifier")
9 int cls(struct __sk_buff *skb)
10 {
11 	return 0;
12 }
13