projects
/
platform
/
kernel
/
linux-rpi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
selftests/bpf: Fix erroneous bitmask operation
[platform/kernel/linux-rpi.git]
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
test_netfilter_link_attach.c
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
3
#include "vmlinux.h"
4
#include <bpf/bpf_helpers.h>
5
6
#define NF_ACCEPT 1
7
8
SEC("netfilter")
9
int nf_link_attach_test(struct bpf_nf_ctx *ctx)
10
{
11
return NF_ACCEPT;
12
}
13
14
char _license[] SEC("license") = "GPL";