Sign in
kunit
/
linux
/
kunit/rfc/v5.1/v4
/
.
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
xdp_dummy.c
blob: 43b0ef1001ede9c415eb43854956ade4987fa317 [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: GPL-2.0
#define
KBUILD_MODNAME
"xdp_dummy"
#include
<linux/bpf.h>
#include
"bpf_helpers.h"
SEC
(
"xdp_dummy"
)
int
xdp_dummy_prog
(
struct
xdp_md
*
ctx
)
{
return
XDP_PASS
;
}
char
_license
[]
SEC
(
"license"
)
=
"GPL"
;