Home
last modified time | relevance | path

Searched refs:fin_dlen (Results 1 – 22 of 22) sorted by relevance

/freebsd-12-stable/sys/netpfil/ipfilter/netinet/
Dip_dns_pxy.c179 dlen = fin->fin_dlen - sizeof(udphdr_t); in ipf_p_dns_new()
198 dlen = fin->fin_dlen - sizeof(udphdr_t); in ipf_p_dns_new()
322 if (fin->fin_dlen < sizeof(*dns)) in ipf_p_dns_inout()
330 dlen = fin->fin_dlen - sizeof(*dns) - sizeof(udphdr_t); in ipf_p_dns_inout()
366 if ((fin->fin_dlen < sizeof(u_short)) || (fin->fin_flx & FI_FRAG)) in ipf_p_dns_match()
Dip_log.c365 hlen += MIN(sizeof(tcphdr_t), fin->fin_dlen); in ipf_log_pkt()
367 hlen += MIN(sizeof(udphdr_t), fin->fin_dlen); in ipf_log_pkt()
386 fin->fin_dlen); in ipf_log_pkt()
390 fin->fin_dlen); in ipf_log_pkt()
407 fin->fin_dlen); in ipf_log_pkt()
410 fin->fin_dlen); in ipf_log_pkt()
Dip_rpcb_pxy.c219 dlen = fin->fin_dlen - sizeof(udphdr_t); in ipf_p_rpcb_in()
289 dlen = fin->fin_dlen - sizeof(udphdr_t); in ipf_p_rpcb_out()
793 fin->fin_dlen += diff; in ipf_p_rpcb_modreq()
1129 fi.fin_dlen = sizeof(tcphdr_t); in ipf_p_rpcb_getnat()
1133 fi.fin_dlen = sizeof(udphdr_t); in ipf_p_rpcb_getnat()
1139 fi.fin_plen = fi.fin_hlen + fi.fin_dlen; in ipf_p_rpcb_getnat()
1401 fin->fin_dlen += len; in ipf_p_rpcb_fixlen()
Dip_tftp_pxy.c305 fi.fin_dlen = sizeof(udp); in ipf_p_tftp_backchannel()
411 if (fin->fin_dlen < 4) in ipf_p_tftp_client()
427 len = fin->fin_dlen - sizeof(*udp) - 2; in ipf_p_tftp_client()
457 if (fin->fin_dlen < 4) in ipf_p_tftp_server()
Dip_ipsec_pxy.c145 off = fin->fin_plen - fin->fin_dlen + fin->fin_ipoff; in ipf_p_ipsec_new()
353 if ((fin->fin_dlen < sizeof(cookies)) || (fin->fin_flx & FI_FRAG)) in ipf_p_ipsec_match()
356 off = fin->fin_plen - fin->fin_dlen + fin->fin_ipoff; in ipf_p_ipsec_match()
Dip_netbios_pxy.c82 dlen = fin->fin_dlen - sizeof(*udp); in ipf_p_netbios_out()
Dip_rcmd_pxy.c168 dlen = fin->fin_dlen - tcpsz; in ipf_p_rcmd_portmsg()
272 fi.fin_dlen = sizeof(*tcp2); in ipf_p_rcmd_portmsg()
Dip_irc_pxy.c363 fin->fin_dlen += inc; in ipf_p_irc_send()
402 fi.fin_dlen = sizeof(*tcp2); in ipf_p_irc_send()
Dip_scan.c533 dlen = fin->fin_dlen - thoff; in ipf_scan_packet()
544 COPYDATA(*(mb_t **)fin->fin_mp, fin->fin_plen - fin->fin_dlen + thoff, in ipf_scan_packet()
Dfil.c426 if (fin->fin_dlen < xmin) in ipf_pr_short6()
624 if ((fin->fin_dlen - 8) < 0) { in ipf_pr_ipv6exthdr()
646 if (shift > fin->fin_dlen) { /* Nasty extension header length? */ in ipf_pr_ipv6exthdr()
648 DT3(ipf_fi_bad_pr_ipv6exthdr_len, fr_info_t *, fin, u_short, shift, u_short, fin->fin_dlen); in ipf_pr_ipv6exthdr()
654 fin->fin_dlen -= shift; in ipf_pr_ipv6exthdr()
827 if ((fin->fin_off << 3) + fin->fin_dlen > 65535) { in ipf_pr_fragment6()
829 DT2(ipf_fi_bad_jumbogram, fr_info_t *, fin, u_int, ((fin->fin_off << 3) + fin->fin_dlen)); in ipf_pr_fragment6()
888 if (fin->fin_dlen > 1) { in ipf_pr_icmp6()
902 if (fin->fin_dlen >= 6) in ipf_pr_icmp6()
1158 if (fin->fin_dlen < xmin) in ipf_pr_short()
[all …]
Dip_ftp_pxy.c425 fin->fin_dlen += inc; in ipf_p_ftp_port()
539 fi.fin_dlen = sizeof(*tcp2); in ipf_p_ftp_addport()
874 fi.fin_dlen = sizeof(*tcp2); in ipf_p_ftp_pasvreply()
934 fin->fin_dlen += inc; in ipf_p_ftp_pasvreply()
1796 fin->fin_dlen += inc; in ipf_p_ftp_eprt4()
2048 fin->fin_dlen += inc; in ipf_p_ftp_eprt6()
Dip_fil_freebsd.c361 tlen = fin->fin_dlen - (TCP_OFF(tcp) << 2) + in ipf_send_reset()
570 xtra = MIN(fin->fin_dlen, 8); in ipf_send_icmp_err()
1081 fin->fin_dlen + fin->fin_p)); in ipf_checkv4sum()
Dip_raudio_pxy.c275 fi.fin_dlen = sizeof(*tcp2); in ipf_p_raudio_in()
Dip_nat6.c1408 if ((char *)oip6 + fin->fin_dlen - ICMPERR_ICMPHLEN > in ipf_nat6_icmperrorlookup()
1414 if ((char *)oip6 + fin->fin_dlen - ICMPERR_ICMPHLEN > in ipf_nat6_icmperrorlookup()
2857 fin->fin_dlen += sizeof(ip6_t) + 8; /* UDP + old IPv4 hdr */ in ipf_nat6_out()
2908 fin->fin_dlen); in ipf_nat6_out()
2913 fin->fin_dlen); in ipf_nat6_out()
3249 fin->fin_dlen += sizeof(ip6_t) + 8; /* UDP + old IPv6 hdr */ in ipf_nat6_in()
3770 fin->fin_dlen -= skip; in ipf_nat6_decap()
Dip_state.c1559 is->is_send = ntohl(tcp->th_seq) + fin->fin_dlen - in ipf_state_add()
1861 if (fin->fin_dlen < len) { in ipf_tcpoptions()
1867 off = fin->fin_plen - fin->fin_dlen + sizeof(*tcp) + fin->fin_ipoff; in ipf_tcpoptions()
2132 dsize = fin->fin_dlen - (TCP_OFF(tcp) << 2) + in ipf_state_tcpinwindow()
2320 send = ntohl(tcp->th_seq) + fin->fin_dlen - (TCP_OFF(tcp) << 2) + in ipf_state_clone()
2657 len = fin->fin_dlen - ICMPERR_ICMPHLEN; in ipf_checkicmpmatchingstate()
3963 dlen = fin->fin_dlen - (TCP_OFF(tcp) << 2); in ipf_tcp_age()
4411 oip6->ip6_plen = htons(fin->fin_dlen - ICMPERR_ICMPHLEN); in ipf_checkicmp6matchingstate()
Dip_frag.c486 fra->ipfr_off = off + (fin->fin_dlen >> 3); in ipfr_frag_new()
736 f->ipfr_off = (fin->fin_dlen >> 3) + off; in ipf_frag_lookup()
Dip_proxy.c916 if ((fin->fin_dlen > 0) && !(fin->fin_flx & FI_COALESCE)) in ipf_proxy_check()
1135 nlen = fin->fin_dlen; in ipf_proxy_fixseqack()
Dip_pptp_pxy.c287 dlen = fin->fin_dlen - (TCP_OFF(tcp) << 2); in ipf_p_pptp_nextmessage()
Dip_nat.c3598 if ((char *)oip + fin->fin_dlen - ICMPERR_ICMPHLEN > in ipf_nat_icmperrorlookup()
3604 if ((char *)oip + fin->fin_dlen - ICMPERR_ICMPHLEN > in ipf_nat_icmperrorlookup()
5153 fin->fin_dlen += sizeof(ip_t) + 8; /* UDP + IPv4 hdr */ in ipf_nat_out()
5204 fin->fin_dlen); in ipf_nat_out()
5209 fin->fin_dlen); in ipf_nat_out()
5593 fin->fin_dlen += sizeof(ip_t) + 8; /* UDP + old IPv4 hdr */ in ipf_nat_in()
7332 fin->fin_dlen -= skip; in ipf_nat_decap()
Dip_fil.h370 int fin_dlen; /* length of data portion of packet */ member
/freebsd-12-stable/contrib/ipfilter/
Dip_fil_compat.c322 int fin_dlen; /* length of data portion of packet */ member
359 int fin_dlen; member
397 int fin_dlen; member
434 int fin_dlen; member
2643 fin->fin_dlen = old->fin_dlen;
2681 fin->fin_dlen = old->fin_dlen;
2719 fin->fin_dlen = old->fin_dlen;
2756 fin->fin_dlen = old->fin_dlen;
4027 old->fin_dlen = fin->fin_dlen;
4069 old->fin_dlen = fin->fin_dlen;
[all …]
/freebsd-12-stable/sbin/ipf/ipftest/
Dipftest.c677 tmp.fin_dlen = len - tmp.fin_hlen; in fixv4sums()