Lines Matching refs:ip_off
244 ((ip->ip_off & htons(IP_MF)) && (ntohs(ip->ip_len) & 0x7) != 0)) { in ip_reass()
250 if (ip->ip_off & htons(IP_MF)) in ip_reass()
254 ip->ip_off = htons(ntohs(ip->ip_off) << 3); in ip_reass()
259 if (ntohs(ip->ip_len) + ntohs(ip->ip_off) > IP_MAXPACKET) { in ip_reass()
338 fp->ipq_maxoff = ntohs(ip->ip_off) + ntohs(ip->ip_len); in ip_reass()
354 i = ntohs(ip->ip_off) + ntohs(ip->ip_len); in ip_reass()
362 fp->ipq_maxoff = ntohs(ip->ip_off) + ntohs(ip->ip_len); in ip_reass()
392 if (ntohs(GETIP(q)->ip_off) > ntohs(ip->ip_off)) in ip_reass()
405 i = ntohs(GETIP(p)->ip_off) + ntohs(GETIP(p)->ip_len) - in ip_reass()
406 ntohs(ip->ip_off); in ip_reass()
412 ip->ip_off = htons(ntohs(ip->ip_off) + i); in ip_reass()
426 for (; q != NULL && ntohs(ip->ip_off) + ntohs(ip->ip_len) > in ip_reass()
427 ntohs(GETIP(q)->ip_off); q = nq) { in ip_reass()
428 i = (ntohs(ip->ip_off) + ntohs(ip->ip_len)) - in ip_reass()
429 ntohs(GETIP(q)->ip_off); in ip_reass()
432 GETIP(q)->ip_off = htons(ntohs(GETIP(q)->ip_off) + i); in ip_reass()
457 if (ntohs(GETIP(q)->ip_off) != next) { in ip_reass()