netfilter: disable defrag once its no longer needed
[linux-2.6-microblaze.git] / include / net / netfilter / ipv6 / nf_defrag_ipv6.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NF_DEFRAG_IPV6_H
3 #define _NF_DEFRAG_IPV6_H
4
5 #include <linux/skbuff.h>
6 #include <linux/types.h>
7
8 int nf_defrag_ipv6_enable(struct net *net);
9 void nf_defrag_ipv6_disable(struct net *net);
10
11 int nf_ct_frag6_init(void);
12 void nf_ct_frag6_cleanup(void);
13 int nf_ct_frag6_gather(struct net *net, struct sk_buff *skb, u32 user);
14
15 struct inet_frags_ctl;
16
17 struct nft_ct_frag6_pernet {
18         struct ctl_table_header *nf_frag_frags_hdr;
19         struct fqdir    *fqdir;
20         unsigned int users;
21 };
22
23 #endif /* _NF_DEFRAG_IPV6_H */