File Index
Files and directories
Sign in
FILE

sample_ret0.bpf.c

File preview with syntax highlighting.

linux-6.19.14/tools/testing/selftests/net/sample_ret0.bpf.c C
 1/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
 2
 3#define SEC(name) __attribute__((section(name), used))
 4
 5/* Sample program which should always load for testing control paths. */
 6SEC("xdp")
 7int func()
 8{
 9	return 0;
10}
~/ Read-only file preview.