Linux 4.19-rc7
[linux-2.6/btrfs-unstable.git] / net / netfilter / nf_internals.h
blobe15779fd58e3a5c8425c0f8ff5296f2bfdf338c8
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NF_INTERNALS_H
3 #define _NF_INTERNALS_H
5 #include <linux/list.h>
6 #include <linux/skbuff.h>
7 #include <linux/netdevice.h>
9 /* nf_queue.c */
10 int nf_queue(struct sk_buff *skb, struct nf_hook_state *state,
11 const struct nf_hook_entries *entries, unsigned int index,
12 unsigned int verdict);
13 void nf_queue_nf_hook_drop(struct net *net);
15 /* nf_log.c */
16 int __init netfilter_log_init(void);
18 /* core.c */
19 void nf_hook_entries_delete_raw(struct nf_hook_entries __rcu **pp,
20 const struct nf_hook_ops *reg);
21 int nf_hook_entries_insert_raw(struct nf_hook_entries __rcu **pp,
22 const struct nf_hook_ops *reg);
23 #endif