Lines Matching refs:oiphlen
193 u_int32_t oiphlen = 0; in icmp_error() local
232 oiphlen = IP_VHL_HL(oip->ip_vhl) << 2; in icmp_error()
233 if (n->m_len < oiphlen + ICMP_MINLEN) { in icmp_error()
249 n->m_len >= oiphlen + ICMP_MINLEN && in icmp_error()
250 !ICMP_INFOTYPE(((struct icmp *)(void *)((caddr_t)oip + oiphlen))-> in icmp_error()
272 if (oiphlen + sizeof(struct tcphdr) > n->m_len && in icmp_error()
281 if (n->m_len < (oiphlen + sizeof(struct tcphdr)) && in icmp_error()
282 (n = m_pullup(n, (oiphlen + sizeof(struct tcphdr)))) == NULL) { in icmp_error()
291 th = (struct tcphdr *)(void *)((caddr_t)oip + oiphlen); in icmp_error()
304 if (oip->ip_len < (oiphlen + tcphlen)) { in icmp_error()
307 if ((oiphlen + tcphlen) > n->m_len && n->m_next == NULL) { in icmp_error()
310 if (n->m_len < (oiphlen + tcphlen) && in icmp_error()
311 (n = m_pullup(n, (oiphlen + tcphlen))) == NULL) { in icmp_error()
320 th = (struct tcphdr *)(void *)((caddr_t)oip + oiphlen); in icmp_error()
323 (oip->ip_len - oiphlen))); in icmp_error()
326 (oip->ip_len - oiphlen))); in icmp_error()
329 icmplen = min(oiphlen + icmpelen, nlen); in icmp_error()