Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dip_icmp.c215 unsigned icmplen, icmpelen, nlen, oiphlen; in icmp_error() local
238 oiphlen = oip->ip_hl << 2; in icmp_error()
239 if (n->m_len < oiphlen + ICMP_MINLEN) in icmp_error()
249 oiphlen))->icmp_type)) { in icmp_error()
264 if (oiphlen + sizeof(struct tcphdr) > n->m_len && in icmp_error()
267 if (n->m_len < oiphlen + sizeof(struct tcphdr) && in icmp_error()
268 (n = m_pullup(n, oiphlen + sizeof(struct tcphdr))) == NULL) in icmp_error()
271 th = mtodo(n, oiphlen); in icmp_error()
275 if (ntohs(oip->ip_len) < oiphlen + tcphlen) in icmp_error()
277 if (oiphlen + tcphlen > n->m_len && n->m_next == NULL) in icmp_error()
[all …]