projects
/
platform
/
kernel
/
linux-starfive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
selftests/net: change shebang to bash to support "source"
[platform/kernel/linux-starfive.git]
/
tools
/
testing
/
selftests
/
net
/
xdp_dummy.c
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";