1 /* SPDX-License-Identifier: GPL-2.0 */
4 const struct nf_hook_state *state;
8 #if IS_ENABLED(CONFIG_NETFILTER_BPF_LINK)
9 int bpf_nf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
11 static inline int bpf_nf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog)