Sign in
android-kvm
/
linux
/
1e3cd03c54b76b4cbc8b31256dc3f18c417a6876
/
.
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
xdp_dummy.c
blob: d988b2e0cee840c578373ca34ec0df99483b0f85 [
file
] [
log
] [
blame
]
// 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"
;