Lines Matching defs:GETIP
1525 #define GETIP(m) ((struct ip*)((m)->m_pkthdr.header))
1533 ecn0 = GETIP(fp->ipq_frags)->ip_tos & IPTOS_ECN_MASK;
1538 GETIP(fp->ipq_frags)->ip_tos |= IPTOS_ECN_CE;
1547 if (GETIP(q)->ip_off > ip->ip_off)
1560 i = GETIP(p)->ip_off + GETIP(p)->ip_len - ip->ip_off;
1580 for (; q != NULL && ip->ip_off + ip->ip_len > GETIP(q)->ip_off;
1583 GETIP(q)->ip_off;
1584 if (i < GETIP(q)->ip_len) {
1585 GETIP(q)->ip_len -= i;
1586 GETIP(q)->ip_off += i;
1630 if (GETIP(q)->ip_off != next) {
1637 next += GETIP(q)->ip_len;
1652 ip = GETIP(q);
1733 #undef GETIP