]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
f6ebe77f HW |
2 | #ifndef _NF_INTERNALS_H |
3 | #define _NF_INTERNALS_H | |
4 | ||
f6ebe77f HW |
5 | #include <linux/list.h> |
6 | #include <linux/skbuff.h> | |
7 | #include <linux/netdevice.h> | |
8 | ||
f6ebe77f | 9 | /* nf_queue.c */ |
e3b37f11 | 10 | int nf_queue(struct sk_buff *skb, struct nf_hook_state *state, |
960632ec AC |
11 | const struct nf_hook_entries *entries, unsigned int index, |
12 | unsigned int verdict); | |
26888dfd | 13 | void nf_queue_nf_hook_drop(struct net *net); |
f6ebe77f HW |
14 | |
15 | /* nf_log.c */ | |
c1b1203d | 16 | int __init netfilter_log_init(void); |
f6ebe77f | 17 | |
06cad3ac FW |
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); | |
f6ebe77f | 23 | #endif |