Lines Matching refs:ip_len
102 Log2(("ip_dst=%RTnaipv4(len:%d) m_len = %d\n", ip->ip_dst, RT_N2H_U16(ip->ip_len), m->m_len));
116 if (m->m_len != RT_N2H_U16(ip->ip_len))
117 m->m_len = RT_N2H_U16(ip->ip_len);
157 NTOHS(ip->ip_len);
158 if (ip->ip_len < hlen)
173 if (mlen < ip->ip_len)
180 if (mlen > ip->ip_len)
181 m_adj(m, ip->ip_len - m->m_len);
225 ip->ip_len -= hlen;
250 ip->ip_dst, ip->ip_len));
334 * Adjust ip_len to not reflect header,
337 ip->ip_len -= hlen;
344 if (ip->ip_len == 0 || (ip->ip_len & 0x7) != 0)
415 i = GETIP(p)->ip_off + GETIP(p)->ip_len - ip->ip_off;
418 if (i >= ip->ip_len)
422 ip->ip_len -= i;
437 for (; q != NULL && ip->ip_off + ip->ip_len > GETIP(q)->ip_off;
440 i = (ip->ip_off + ip->ip_len) - GETIP(q)->ip_off;
441 if (i < GETIP(q)->ip_len)
443 GETIP(q)->ip_len -= i;
477 next += GETIP(q)->ip_len;
531 ip->ip_len = next;
538 Assert((ip->ip_len == next));