Searched defs:GETIP (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/Network/slirp/
H A Dip_input.c395 #define GETIP(m) ((struct ip*)((m)->m_pkthdr.header)) macro
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(
558 #undef GETIP macro
[all...]

Completed in 71 milliseconds