3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-07 14:54:17 +00:00
Brooklyn/tools/testing/selftests/bpf/progs/test_tc_bpf.c

13 lines
183 B
C
Raw Normal View History

// SPDX-License-Identifier: GPL-2.0
#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>
/* Dummy prog to test TC-BPF API */
SEC("tc")
int cls(struct __sk_buff *skb)
{
return 0;
}