Searched refs:ICMP_MINLEN (Results 1 – 10 of 10) sorted by relevance
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | nat64clat.c | 177 if (m->m_pkthdr.len < hlen + sizeof(struct ip6_hdr) + ICMP_MINLEN) { in nat64clat_handle_icmp6() 181 if (m->m_len < hlen + sizeof(struct ip6_hdr) + ICMP_MINLEN) in nat64clat_handle_icmp6() 182 m = m_pullup(m, hlen + sizeof(struct ip6_hdr) + ICMP_MINLEN); in nat64clat_handle_icmp6()
|
| H A D | nat64stl.c | 177 if (m->m_pkthdr.len < hlen + sizeof(struct ip6_hdr) + ICMP_MINLEN) { in nat64stl_handle_icmp6() 181 if (m->m_len < hlen + sizeof(struct ip6_hdr) + ICMP_MINLEN) in nat64stl_handle_icmp6() 182 m = m_pullup(m, hlen + sizeof(struct ip6_hdr) + ICMP_MINLEN); in nat64stl_handle_icmp6()
|
| H A D | nat64_translate.c | 916 if (m->m_len < offset + ICMP_MINLEN) in nat64_icmp_translate() 917 m = m_pullup(m, offset + ICMP_MINLEN); in nat64_icmp_translate() 1045 hlen = offset + ICMP_MINLEN; in nat64_icmp_translate() 1046 if (m->m_pkthdr.len < hlen + sizeof(struct ip) + ICMP_MINLEN) { in nat64_icmp_translate() 1065 if (m->m_pkthdr.len < hlen + ICMP_MINLEN) { in nat64_icmp_translate() 1473 if (m->m_pkthdr.len < hlen + sizeof(struct ip6_hdr) + ICMP_MINLEN) { in nat64_handle_icmp6() 1498 if (m->m_len < hlen + sizeof(struct ip6_hdr) + ICMP_MINLEN) in nat64_handle_icmp6() 1499 m = m_pullup(m, hlen + sizeof(struct ip6_hdr) + ICMP_MINLEN); in nat64_handle_icmp6() 1512 ICMP_MINLEN) in nat64_handle_icmp6()
|
| H A D | nat64lsn.c | 424 off = (ip->ip_hl << 2) + ICMP_MINLEN; in inspect_icmp_mbuf() 448 if ((*mp)->m_pkthdr.len < off + sizeof(struct ip) + ICMP_MINLEN) in inspect_icmp_mbuf() 450 if ((*mp)->m_len < off + sizeof(struct ip) + ICMP_MINLEN) in inspect_icmp_mbuf() 451 *mp = m_pullup(*mp, off + sizeof(struct ip) + ICMP_MINLEN); in inspect_icmp_mbuf() 458 if ((*mp)->m_len < off + ICMP_MINLEN) in inspect_icmp_mbuf() 459 *mp = m_pullup(*mp, off + ICMP_MINLEN); in inspect_icmp_mbuf() 569 len += ICMP_MINLEN; /* Enough to get icmp_id */ in nat64lsn_reassemble4()
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_icmp.c | 229 if (n->m_len < sizeof(struct ip) + ICMP_MINLEN) in icmp_error() 233 if (n->m_len < oiphlen + ICMP_MINLEN) in icmp_error() 321 if (MHLEN > sizeof(struct ip) + ICMP_MINLEN + icmplen) in icmp_error() 331 sizeof(struct ip) - ICMP_MINLEN); in icmp_error() 332 m_align(m, sizeof(struct ip) + ICMP_MINLEN + icmplen); in icmp_error() 334 m->m_len = ICMP_MINLEN + icmplen; in icmp_error() 434 if (icmplen < ICMP_MINLEN) { in icmp_input()
|
| H A D | ip_icmp.h | 135 #define ICMP_MINLEN 8 /* abs minimum */ macro
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | ip_icmp.h | 135 #define ICMP_MINLEN 8 /* abs minimum */ macro
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf.c | 3487 m_copyback(m, off, ICMP_MINLEN, (caddr_t)pd->hdr.icmp); in pf_test_rule() 4783 m_copyback(m, off, ICMP_MINLEN, in pf_test_state_icmp() 4835 ipoff2 = off + ICMP_MINLEN; in pf_test_state_icmp() 5044 m_copyback(m, off, ICMP_MINLEN, in pf_test_state_icmp() 5113 m_copyback(m, off, ICMP_MINLEN, in pf_test_state_icmp() 5137 if (!pf_pull_hdr(m, off2, &iih, ICMP_MINLEN, in pf_test_state_icmp() 5177 m_copyback(m, off, ICMP_MINLEN, (caddr_t)pd->hdr.icmp); in pf_test_state_icmp() 5179 m_copyback(m, off2, ICMP_MINLEN, (caddr_t)&iih); in pf_test_state_icmp() 5271 m_copyback(m, off, ICMP_MINLEN, in pf_test_state_icmp() 6052 if (!pf_pull_hdr(m, off, &ih, ICMP_MINLEN, in pf_test()
|
| /f-stack/freebsd/netinet/libalias/ |
| H A D | alias.c | 444 if (dlen < ICMP_MINLEN) in IcmpAliasIn()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | fil.c | 1232 minicmpsz = ICMP_MINLEN;
|