aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/test_tc_bpf.c
blob: 18a3a7ed924a894d7d38f20400af2ce5e5278129 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: GPL-2.0

#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>

/* Dummy prog to test TC-BPF API */

SEC("classifier")
int cls(struct __sk_buff *skb)
{
	return 0;
}