mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 11:49:32 +00:00
![Patrick McHardy](/assets/img/avatar_default.png)
For mangling IPv6 packets the protocol header offset needs to be known by the NAT packet mangling functions. Add a so far unused protoff argument and convert the conntrack and NAT helpers to use it in preparation of IPv6 NAT. Signed-off-by: Patrick McHardy <kaber@trash.net>
11 lines
353 B
C
11 lines
353 B
C
#ifndef _NF_CONNTRACK_AMANDA_H
|
|
#define _NF_CONNTRACK_AMANDA_H
|
|
/* AMANDA tracking. */
|
|
|
|
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);
|
|
#endif /* _NF_CONNTRACK_AMANDA_H */
|