mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
051966c0c6
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>
16 lines
405 B
C
16 lines
405 B
C
#ifndef _NF_CONNTRACK_IRC_H
|
|
#define _NF_CONNTRACK_IRC_H
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
#define IRC_PORT 6667
|
|
|
|
extern unsigned int (*nf_nat_irc_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 /* __KERNEL__ */
|
|
#endif /* _NF_CONNTRACK_IRC_H */
|