Sign in
android-kvm
/
linux
/
52fa3ee0cce60a04739f4a5ca1c9d5c2a8ee1578
/
.
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
sockmap_tcp_msg_prog.c
blob: eeaf6e75c9a26e28b093578f396d47d7dbd9c7a9 [
file
] [
log
] [
blame
]
#include
<linux/bpf.h>
#include
<bpf/bpf_helpers.h>
#include
<bpf/bpf_endian.h>
int
_version SEC
(
"version"
)
=
1
;
SEC
(
"sk_msg1"
)
int
bpf_prog1
(
struct
sk_msg_md
*
msg
)
{
return
SK_PASS
;
}
char
_license
[]
SEC
(
"license"
)
=
"GPL"
;