1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _NF_INTERNALS_H 3 #define _NF_INTERNALS_H 4 5 #include <linux/list.h> 6 #include <linux/skbuff.h> 7 #include <linux/netdevice.h> 8 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); 14 15 /* nf_log.c */ 16 int __init netfilter_log_init(void); 17 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 24