summaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/nf_nat_core.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2012-08-26 19:14:06 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-08-30 03:00:14 +0200
commitc7232c9979cba684c50b64c513c4a83c9aa70563 (patch)
treedbe0fdac62191d85935f5a3dfe815c1b1add60f9 /include/net/netfilter/nf_nat_core.h
parent051966c0c644a1c96092d4206e00704ade813c9a (diff)
downloadop-kernel-dev-c7232c9979cba684c50b64c513c4a83c9aa70563.zip
op-kernel-dev-c7232c9979cba684c50b64c513c4a83c9aa70563.tar.gz
netfilter: add protocol independent NAT core
Convert the IPv4 NAT implementation to a protocol independent core and address family specific modules. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netfilter/nf_nat_core.h')
-rw-r--r--include/net/netfilter/nf_nat_core.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/net/netfilter/nf_nat_core.h b/include/net/netfilter/nf_nat_core.h
index b13d8d1..972e1e4 100644
--- a/include/net/netfilter/nf_nat_core.h
+++ b/include/net/netfilter/nf_nat_core.h
@@ -12,10 +12,7 @@ extern unsigned int nf_nat_packet(struct nf_conn *ct,
unsigned int hooknum,
struct sk_buff *skb);
-extern int nf_nat_icmp_reply_translation(struct nf_conn *ct,
- enum ip_conntrack_info ctinfo,
- unsigned int hooknum,
- struct sk_buff *skb);
+extern int nf_xfrm_me_harder(struct sk_buff *skb, unsigned int family);
static inline int nf_nat_initialized(struct nf_conn *ct,
enum nf_nat_manip_type manip)
OpenPOWER on IntegriCloud