diff options
author | Florian Westphal <fw@strlen.de> | 2018-12-13 16:01:30 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-12-17 23:33:09 +0100 |
commit | 40e786bd296d5517b1f6c4bcc9ed13e502606ced (patch) | |
tree | 33844a6bd7926b4bbc5b4ffbc897384405d5f456 /include/net | |
parent | 203f2e78200c27e42e9f7d063091f950bf5fe4a0 (diff) | |
download | talos-obmc-linux-40e786bd296d5517b1f6c4bcc9ed13e502606ced.tar.gz talos-obmc-linux-40e786bd296d5517b1f6c4bcc9ed13e502606ced.zip |
netfilter: nat: fold in_range indirection into caller
No need for indirections here, we only support ipv4 and ipv6
and the called functions are very small.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_nat_l3proto.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/netfilter/nf_nat_l3proto.h b/include/net/netfilter/nf_nat_l3proto.h index f8b3fbe7a1bf..1ce0980da638 100644 --- a/include/net/netfilter/nf_nat_l3proto.h +++ b/include/net/netfilter/nf_nat_l3proto.h @@ -6,9 +6,6 @@ struct nf_nat_l4proto; struct nf_nat_l3proto { u8 l3proto; - bool (*in_range)(const struct nf_conntrack_tuple *t, - const struct nf_nat_range2 *range); - bool (*manip_pkt)(struct sk_buff *skb, unsigned int iphdroff, const struct nf_nat_l4proto *l4proto, |