repo.or.cz
/
drm
/
drm-misc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git]
/
tools
/
testing
/
selftests
/
net
/
xdp_dummy.bpf.c
blob
d988b2e0cee840c578373ca34ec0df99483b0f85
1
// SPDX-License-Identifier: GPL-2.0
2
3
#define KBUILD_MODNAME
"xdp_dummy"
4
#include <linux/bpf.h>
5
#include <bpf/bpf_helpers.h>
6
7
SEC
(
"xdp"
)
8
int
xdp_dummy_prog
(
struct
xdp_md
*
ctx
)
9
{
10
return
XDP_PASS
;
11
}
12
13
char
_license
[]
SEC
(
"license"
) =
"GPL"
;