projects
/
platform
/
kernel
/
linux-starfive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bpf, selftests: test_maps generating unrecognized data section
[platform/kernel/linux-starfive.git]
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
sockmap_tcp_msg_prog.c
1
#include <linux/bpf.h>
2
3
#include <bpf/bpf_helpers.h>
4
#include <bpf/bpf_endian.h>
5
6
int _version SEC("version") = 1;
7
8
SEC("sk_msg1")
9
int bpf_prog1(struct sk_msg_md *msg)
10
{
11
return SK_PASS;
12
}
13
14
char _license[] SEC("license") = "GPL";