Lines Matching defs:ti
159 tftpinfo_t *ti;
169 KMALLOC(ti, tftpinfo_t *);
170 if (ti == NULL)
174 KFREE(ti);
178 aps->aps_data = ti;
179 aps->aps_psiz = sizeof(*ti);
180 bzero((char *)ti, sizeof(*ti));
182 ti->ti_rule = ipn;
245 ti->ti_lastcmd = 0;
279 tftpinfo_t *ti;
288 ti = aps->aps_data;
299 udp.uh_dport = ti->ti_rule->in_ndport;
306 fi.fin_dport = ntohs(ti->ti_rule->in_ndport);
349 nat2 = ipf_nat_add(&fi, ti->ti_rule, NULL, nflags, dir);
352 nat2 = ipf_nat6_add(&fi, ti->ti_rule, NULL, nflags, dir);
359 if (ti->ti_rule->in_redir == NAT_MAP) {
408 tftpinfo_t *ti;
416 ti = aps->aps_data;
430 if (len > sizeof(ti->ti_filename) - 1)
431 len = sizeof(ti->ti_filename) - 1;
433 for (t = (u_char *)ti->ti_filename; (len > 0); len--, s++) {
444 ti = aps->aps_data;
445 ti->ti_lastcmd = opcode;
454 tftpinfo_t *ti;
462 ti = aps->aps_data;
471 ti->ti_lastblk = arg;
475 ti->ti_lasterror = arg;
482 ti->ti_lastcmd = opcode;