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>
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
);
16 int __init
netfilter_log_init(void);
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
);