60566f9fd7b385e7ac09fc4fbd347052795ea101
[linux-2.6.git] / include / linux / netfilter_ipv4 / ip_nat_core.h
1 #ifndef _IP_NAT_CORE_H
2 #define _IP_NAT_CORE_H
3 #include <linux/list.h>
4 #include <linux/netfilter_ipv4/ip_conntrack.h>
5
6 /* This header used to share core functionality between the standalone
7    NAT module, and the compatibility layer's use of NAT for masquerading. */
8
9 extern unsigned int ip_nat_packet(struct ip_conntrack *ct,
10                                enum ip_conntrack_info conntrackinfo,
11                                unsigned int hooknum,
12                                struct sk_buff **pskb);
13
14 extern int ip_nat_icmp_reply_translation(struct ip_conntrack *ct,
15                                          enum ip_conntrack_info ctinfo,
16                                          unsigned int hooknum,
17                                          struct sk_buff **pskb);
18 #endif /* _IP_NAT_CORE_H */