| /freebsd-12-stable/sys/netpfil/ipfilter/netinet/ |
| D | ip_dns_pxy.c | 179 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()
|
| D | ip_log.c | 365 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()
|
| D | ip_rpcb_pxy.c | 219 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()
|
| D | ip_tftp_pxy.c | 305 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()
|
| D | ip_ipsec_pxy.c | 145 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()
|
| D | ip_netbios_pxy.c | 82 dlen = fin->fin_dlen - sizeof(*udp); in ipf_p_netbios_out()
|
| D | ip_rcmd_pxy.c | 168 dlen = fin->fin_dlen - tcpsz; in ipf_p_rcmd_portmsg() 272 fi.fin_dlen = sizeof(*tcp2); in ipf_p_rcmd_portmsg()
|
| D | ip_irc_pxy.c | 363 fin->fin_dlen += inc; in ipf_p_irc_send() 402 fi.fin_dlen = sizeof(*tcp2); in ipf_p_irc_send()
|
| D | ip_scan.c | 533 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()
|
| D | fil.c | 426 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 …]
|
| D | ip_ftp_pxy.c | 425 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()
|
| D | ip_fil_freebsd.c | 361 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()
|
| D | ip_raudio_pxy.c | 275 fi.fin_dlen = sizeof(*tcp2); in ipf_p_raudio_in()
|
| D | ip_nat6.c | 1408 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()
|
| D | ip_state.c | 1559 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()
|
| D | ip_frag.c | 486 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()
|
| D | ip_proxy.c | 916 if ((fin->fin_dlen > 0) && !(fin->fin_flx & FI_COALESCE)) in ipf_proxy_check() 1135 nlen = fin->fin_dlen; in ipf_proxy_fixseqack()
|
| D | ip_pptp_pxy.c | 287 dlen = fin->fin_dlen - (TCP_OFF(tcp) << 2); in ipf_p_pptp_nextmessage()
|
| D | ip_nat.c | 3598 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()
|
| D | ip_fil.h | 370 int fin_dlen; /* length of data portion of packet */ member
|
| /freebsd-12-stable/contrib/ipfilter/ |
| D | ip_fil_compat.c | 322 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/ |
| D | ipftest.c | 677 tmp.fin_dlen = len - tmp.fin_hlen; in fixv4sums()
|