Linux-6.18.2/tools/testing/selftests/net/sample_ret0.bpf.c
2025-12-23 20:06:59 +08:00

11 lines
224 B
C

/* 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;
}