thesis/linux-6.8.1/tools/testing/selftests/bpf/progs/xdp_tx.c
2025-03-19 13:44:23 +01:00

12 lines
193 B
C

// SPDX-License-Identifier: GPL-2.0
#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>
SEC("xdp")
int xdp_tx(struct xdp_md *xdp)
{
return XDP_TX;
}
char _license[] SEC("license") = "GPL";