JustOS/linux-6.13/tools/testing/selftests/net/sample_ret0.bpf.c

11 lines
224 B
C
Raw Normal View History

2025-01-24 14:00:19 +00:00
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
#define SEC(name) __attribute__((section(name), used))
/* Sample program which should always load for testing control paths. */
SEC("xdp")
int func()
{
return 0;
}