xref: /linux/tools/testing/selftests/bpf/progs/test_tc_bpf.c (revision d8a441e53e2434b1401e52dfd66b05263e442edc)
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