File Index
Files and directories
Sign in
FILE

xdp_tx.c

File preview with syntax highlighting.

linux-6.19.14/tools/testing/selftests/bpf/progs/xdp_tx.c C
 1// SPDX-License-Identifier: GPL-2.0
 2
 3#include <linux/bpf.h>
 4#include <bpf/bpf_helpers.h>
 5
 6SEC("xdp")
 7int xdp_tx(struct xdp_md *xdp)
 8{
 9	return XDP_TX;
10}
11
12char _license[] SEC("license") = "GPL";
~/ Read-only file preview.