JustOS/linux-6.13/tools/testing/selftests/bpf/progs/xdp_dummy.c
justuser 02e73b8cd9 up
2025-01-24 17:00:19 +03:00

14 lines
238 B
C

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