Lines Matching refs:tftp
25 MODULE_ALIAS_NFCT_HELPER("tftp");
94 static struct nf_conntrack_helper tftp[MAX_PORTS][2] __read_mostly;
95 static char tftp_names[MAX_PORTS][2][sizeof("tftp-65535")] __read_mostly;
108 nf_conntrack_helper_unregister(&tftp[i][j]);
121 memset(&tftp[i], 0, sizeof(tftp[i]));
123 tftp[i][0].tuple.src.l3num = AF_INET;
124 tftp[i][1].tuple.src.l3num = AF_INET6;
126 tftp[i][j].tuple.dst.protonum = IPPROTO_UDP;
127 tftp[i][j].tuple.src.u.udp.port = htons(ports[i]);
128 tftp[i][j].expect_policy = &tftp_exp_policy;
129 tftp[i][j].me = THIS_MODULE;
130 tftp[i][j].help = tftp_help;
134 sprintf(tmpname, "tftp");
136 sprintf(tmpname, "tftp-%u", i);
137 tftp[i][j].name = tmpname;
139 ret = nf_conntrack_helper_register(&tftp[i][j]);
143 tftp[i][j].tuple.src.l3num, ports[i]);