Searched refs:GETIP (Results 1 – 1 of 1) sorted by relevance
369 #define GETIP(m) ((struct ip*)((m)->m_pkthdr.PH_loc.ptr)) in ip_reass() macro377 ecn0 = GETIP(fp->ipq_frags)->ip_tos & IPTOS_ECN_MASK; in ip_reass()382 GETIP(fp->ipq_frags)->ip_tos |= IPTOS_ECN_CE; in ip_reass()391 if (ntohs(GETIP(q)->ip_off) > ntohs(ip->ip_off)) in ip_reass()404 i = ntohs(GETIP(p)->ip_off) + ntohs(GETIP(p)->ip_len) - in ip_reass()426 ntohs(GETIP(q)->ip_off); q = nq) { in ip_reass()428 ntohs(GETIP(q)->ip_off); in ip_reass()429 if (i < ntohs(GETIP(q)->ip_len)) { in ip_reass()430 GETIP(q)->ip_len = htons(ntohs(GETIP(q)->ip_len) - i); in ip_reass()431 GETIP(q)->ip_off = htons(ntohs(GETIP(q)->ip_off) + i); in ip_reass()[all …]