xref: /openbmc/linux/tools/testing/selftests/bpf/progs/xdp_dummy.c (revision 4984dd069f2995f239f075199ee8c0d9f020bcd9)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #define KBUILD_MODNAME "xdp_dummy"
4 #include <linux/bpf.h>
5 #include "bpf_helpers.h"
6 
7 SEC("xdp_dummy")
8 int xdp_dummy_prog(struct xdp_md *ctx)
9 {
10 	return XDP_PASS;
11 }
12 
13 char _license[] SEC("license") = "GPL";
14