xref: /linux/tools/testing/selftests/bpf/progs/test_tc_bpf.c (revision 5861dad198fee7d99d7940464d72f17c061a427c)
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("tc")
9 int cls(struct __sk_buff *skb)
10 {
11 	return 0;
12 }
13