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"; |
15 |