2026-01-21 18:59:54 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
|
|
#define KBUILD_MODNAME "xdp_dummy"
|
|
|
|
|
#include <linux/bpf.h>
|
|
|
|
|
#include <bpf/bpf_helpers.h>
|
|
|
|
|
|
2026-01-29 22:25:33 +08:00
|
|
|
SEC("xdp")
|
2026-01-21 18:59:54 +08:00
|
|
|
int xdp_dummy_prog(struct xdp_md *ctx)
|
|
|
|
|
{
|
|
|
|
|
return XDP_PASS;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
char _license[] SEC("license") = "GPL";
|