Re: [PATCH 05/18] netfilter: nf_nat: add protoff argument to packet mangling functions
From: Patrick McHardy <hidden>
Date: 2012-08-20 10:37:01
Also in:
netfilter-devel
From: Patrick McHardy <hidden>
Date: 2012-08-20 10:37:01
Also in:
netfilter-devel
On Mon, 20 Aug 2012, Jan Engelhardt wrote:
On Monday 2012-08-20 05:39, Patrick McHardy wrote:quoted
index 0bb5a69..4b59a15 100644--- a/include/linux/netfilter/nf_conntrack_amanda.h +++ b/include/linux/netfilter/nf_conntrack_amanda.h@@ -4,6 +4,7 @@extern unsigned int (*nf_nat_amanda_hook)(struct sk_buff *skb, enum ip_conntrack_info ctinfo, + unsigned int protoff, unsigned int matchoff, unsigned int matchlen, struct nf_conntrack_expect *exp);What about using a structure to collect all the accumulating parameters, like we do for xtables match functions?
Yes, we could do that for the common parameters.