Home | History | Annotate | Download | only in netinet

Lines Matching refs:fin

132 ipf_p_tftp_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat)
136 fin->fin_flx |= FI_NOWILD;
138 return ipf_p_tftp_client(softt, fin, aps, nat);
139 return ipf_p_tftp_server(softt, fin, aps, nat);
144 ipf_p_tftp_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat)
148 fin->fin_flx |= FI_NOWILD;
150 return ipf_p_tftp_client(softt, fin, aps, nat);
151 return ipf_p_tftp_server(softt, fin, aps, nat);
156 ipf_p_tftp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat)
164 fin = fin; /* LINT */
184 udp = (udphdr_t *)fin->fin_dp;
231 ipn->in_odport = htons(fin->fin_sport);
232 ipn->in_ndport = htons(fin->fin_sport);
268 ipf_p_tftp_backchannel(fr_info_t *fin, ap_session_t *aps, nat_t *nat)
270 ipf_main_softc_t *softc = fin->fin_main_soft;
293 bcopy((char *)fin, (char *)&fi, sizeof(fi));
312 ip6 = (ip6_t *)fin->fin_ip;
314 ip = fin->fin_ip;
322 ip->ip_len = htons(fin->fin_hlen + sizeof(udp));
374 if (fin->fin_v == 4) {
404 ipf_p_tftp_client(ipf_tftp_softc_t *softt, fr_info_t *fin, ap_session_t *aps,
413 if (fin->fin_dlen < 4)
417 msg = fin->fin_dp;
420 DT3(tftp_cmd, fr_info_t *, fin, int, opcode, nat_t *, nat);
429 len = fin->fin_dlen - sizeof(*udp) - 2;
438 ipf_p_tftp_backchannel(fin, aps, nat);
451 ipf_p_tftp_server(ipf_tftp_softc_t *softt, fr_info_t *fin, ap_session_t *aps,
459 if (fin->fin_dlen < 4)
463 msg = fin->fin_dp;