[NETFILTER]: Remove IPv4 only connection tracking/NAT
[linux-2.6.git] / include / net / netfilter / nf_nat_rule.h
1 #ifndef _NF_NAT_RULE_H
2 #define _NF_NAT_RULE_H
3 #include <net/netfilter/nf_conntrack.h>
4 #include <net/netfilter/nf_nat.h>
5 #include <linux/netfilter_ipv4/ip_tables.h>
6
7 extern int nf_nat_rule_init(void) __init;
8 extern void nf_nat_rule_cleanup(void);
9 extern int nf_nat_rule_find(struct sk_buff **pskb,
10                             unsigned int hooknum,
11                             const struct net_device *in,
12                             const struct net_device *out,
13                             struct nf_conn *ct,
14                             struct nf_nat_info *info);
15
16 extern unsigned int
17 alloc_null_binding(struct nf_conn *ct,
18                    struct nf_nat_info *info,
19                    unsigned int hooknum);
20
21 extern unsigned int
22 alloc_null_binding_confirmed(struct nf_conn *ct,
23                              struct nf_nat_info *info,
24                              unsigned int hooknum);
25 #endif /* _NF_NAT_RULE_H */