13 #include <linux/module.h>
15 #include <linux/tcp.h>
16 #include <linux/kernel.h>
32 unsigned int matchoff,
33 unsigned int matchlen,
36 char buffer[
sizeof(
"4294967296 65635")];
41 exp->saved_proto.tcp.port = exp->
tuple.dst.u.tcp.port;
46 for (port =
ntohs(exp->saved_proto.tcp.port); port != 0; port++) {
50 ret = nf_ct_expect_related(exp);
53 else if (ret != -
EBUSY) {
62 ret = nf_nat_mangle_tcp_packet(skb, exp->
master, ctinfo,
63 protoff, matchoff, matchlen,
buffer,
70 static void __exit nf_nat_irc_fini(
void)
76 static int __init nf_nat_irc_init(
void)
87 ": kernel >= 2.6.10 only uses 'ports' for conntrack modules\n");