Home
last modified time | relevance | path

Searched refs:ICMP_MINLEN (Results 1 – 10 of 10) sorted by relevance

/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64clat.c177 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 Dnat64stl.c177 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 Dnat64_translate.c916 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 Dnat64lsn.c424 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 Dip_icmp.c229 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 Dip_icmp.h135 #define ICMP_MINLEN 8 /* abs minimum */ macro
/f-stack/tools/compat/include/netinet/
H A Dip_icmp.h135 #define ICMP_MINLEN 8 /* abs minimum */ macro
/f-stack/freebsd/netpfil/pf/
H A Dpf.c3487 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 Dalias.c444 if (dlen < ICMP_MINLEN) in IcmpAliasIn()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dfil.c1232 minicmpsz = ICMP_MINLEN;