Lines Matching defs:GETIP
395 #define GETIP(m) ((struct ip*)((m)->m_pkthdr.header))
401 if (GETIP(q)->ip_off > ip->ip_off)
415 i = GETIP(p)->ip_off + GETIP(p)->ip_len - ip->ip_off;
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;
444 GETIP(q)->ip_off += i;
468 if (GETIP(q)->ip_off != next)
477 next += GETIP(q)->ip_len;
494 ip = GETIP(q);
558 #undef GETIP