diff options
author | Patrick McHardy <kaber@trash.net> | 2006-12-03 07:09:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-12-03 07:09:06 +0100 |
commit | 869f37d8e48f3911eb70f38a994feaa8f8380008 (patch) | |
tree | 7aa184a20f289f3e4c5d5bba81d8d3df15688059 /include | |
parent | [NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port (diff) | |
download | linux-869f37d8e48f3911eb70f38a994feaa8f8380008.tar.xz linux-869f37d8e48f3911eb70f38a994feaa8f8380008.zip |
[NETFILTER]: nf_conntrack/nf_nat: add IRC helper port
Add nf_conntrack port of the IRC conntrack/NAT helper. Since DCC doesn't
support IPv6 yet, the helper is still IPv4 only.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/nf_conntrack_irc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/netfilter/nf_conntrack_irc.h b/include/linux/netfilter/nf_conntrack_irc.h new file mode 100644 index 000000000000..2ab6b8255911 --- /dev/null +++ b/include/linux/netfilter/nf_conntrack_irc.h @@ -0,0 +1,15 @@ +#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 **pskb, + enum ip_conntrack_info ctinfo, + unsigned int matchoff, + unsigned int matchlen, + struct nf_conntrack_expect *exp); + +#endif /* __KERNEL__ */ +#endif /* _NF_CONNTRACK_IRC_H */ |