Searched refs:ICMP_MINLEN (Results 1 - 10 of 10) sorted by relevance
/freebsd-10.0-release/sbin/natd/ |
H A D | icmp.c | 83 icmpLen = ICMP_MINLEN + failBytes;
|
/freebsd-10.0-release/sys/netinet/ |
H A D | ip_icmp.h | 133 #define ICMP_MINLEN 8 /* abs minimum */ macro
|
H A D | ip_icmp.c | 242 n->m_len >= oiphlen + ICMP_MINLEN && 287 if (MHLEN > sizeof(struct ip) + ICMP_MINLEN + icmplen) 296 icmplen = min(icmplen, M_TRAILINGSPACE(m) - sizeof(struct ip) - ICMP_MINLEN); 297 m_align(m, ICMP_MINLEN + icmplen); 298 m->m_len = ICMP_MINLEN + icmplen; 384 if (icmplen < ICMP_MINLEN) {
|
/freebsd-10.0-release/sbin/ping/ |
H A D | ping.c | 96 #define MASK_LEN (ICMP_MASKLEN - ICMP_MINLEN) 97 #define TS_LEN (ICMP_TSLEN - ICMP_MINLEN) 518 icmp_len = sizeof(struct ip) + ICMP_MINLEN + phdr_len; 526 datap = &outpack[ICMP_MINLEN + phdr_len + TIMEVAL_LEN]; 968 (void *)&outpack[ICMP_MINLEN + phdr_len], 972 cc = ICMP_MINLEN + phdr_len + datalen; 1029 if (cc < hlen + ICMP_MINLEN) { 1054 if (cc - ICMP_MINLEN - phdr_len >= sizeof(tv1)) { 1121 dp = &outpack[ICMP_MINLEN + phdr_len]; 1122 cc -= ICMP_MINLEN [all...] |
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | print-icmp.c | 105 #define ICMP_MINLEN 8 /* abs minimum */ macro
|
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_compat.h | 870 #ifndef ICMP_MINLEN 871 # define ICMP_MINLEN 8 macro
|
H A D | fil.c | 1258 minicmpsz = ICMP_MINLEN;
|
/freebsd-10.0-release/sys/netpfil/pf/ |
H A D | pf.c | 3137 m_copyback(m, off, ICMP_MINLEN, (caddr_t)pd->hdr.icmp); 4442 m_copyback(m, off, ICMP_MINLEN, 4494 ipoff2 = off + ICMP_MINLEN; 4687 m_copyback(m, off, ICMP_MINLEN, 4757 m_copyback(m, off, ICMP_MINLEN, 4781 if (!pf_pull_hdr(m, off2, &iih, ICMP_MINLEN, 4822 m_copyback(m, off, ICMP_MINLEN, (caddr_t)pd->hdr.icmp); 4824 m_copyback(m, off2, ICMP_MINLEN, (caddr_t)&iih); 4918 m_copyback(m, off, ICMP_MINLEN, 5778 if (!pf_pull_hdr(m, off, &ih, ICMP_MINLEN, [all...] |
/freebsd-10.0-release/sbin/routed/ |
H A D | rdisc.c | 977 if (cc < hlen + ICMP_MINLEN)
|
/freebsd-10.0-release/contrib/traceroute/ |
H A D | traceroute.c | 1298 if (cc < hlen + ICMP_MINLEN) {
|
Completed in 131 milliseconds