aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-02-19 17:38:20 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-02-27 10:49:42 +0100
commit096d09067a67702f9802e5b3a0fc2ea9c22f1cf6 (patch)
tree605aea90de98335f1eb91c32c027833241bd9bfa /include/net/netfilter
parentnetfilter: nat: merge ipv4 and ipv6 masquerade functionality (diff)
downloadlinux-dev-096d09067a67702f9802e5b3a0fc2ea9c22f1cf6.tar.xz
linux-dev-096d09067a67702f9802e5b3a0fc2ea9c22f1cf6.zip
netfilter: nat: move nlattr parse and xfrm session decode to core
None of these functions calls any external functions, moving them allows to avoid both the indirection and a need to export these symbols. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r--include/net/netfilter/nf_nat_l3proto.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/net/netfilter/nf_nat_l3proto.h b/include/net/netfilter/nf_nat_l3proto.h
index d774ca0c4c5e..100972bbd9ad 100644
--- a/include/net/netfilter/nf_nat_l3proto.h
+++ b/include/net/netfilter/nf_nat_l3proto.h
@@ -18,15 +18,6 @@ struct nf_nat_l3proto {
void (*csum_recalc)(struct sk_buff *skb, u8 proto,
void *data, __sum16 *check,
int datalen, int oldlen);
-
- void (*decode_session)(struct sk_buff *skb,
- const struct nf_conn *ct,
- enum ip_conntrack_dir dir,
- unsigned long statusbit,
- struct flowi *fl);
-
- int (*nlattr_to_range)(struct nlattr *tb[],
- struct nf_nat_range2 *range);
};
int nf_nat_l3proto_register(const struct nf_nat_l3proto *);