Sign in
android-kvm
/
linux
/
2801a5da5b25b7af9dd2addd19b2315c02d17b64
/
.
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
xdp_dummy.c
blob: ea25e88819928dda30a8a81b21adaba1d07b3919 [
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_dummy"
)
int
xdp_dummy_prog
(
struct
xdp_md
*
ctx
)
{
return
XDP_PASS
;
}
char
_license
[]
SEC
(
"license"
)
=
"GPL"
;