Sign in
android-kvm
/
linux
/
f411e25005928a6fd3e390a01059e1dabf3aec2b
/
.
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
test_netfilter_link_attach.c
blob: 03a475160abe77b4ff048d13469395a826be5f51 [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: GPL-2.0-or-later
#include
"vmlinux.h"
#include
<bpf/bpf_helpers.h>
#define
NF_ACCEPT
1
SEC
(
"netfilter"
)
int
nf_link_attach_test
(
struct
bpf_nf_ctx
*
ctx
)
{
return
NF_ACCEPT
;
}
char
_license
[]
SEC
(
"license"
)
=
"GPL"
;