Lines Matching refs:ipq_hdr
63 struct ip *ipq_hdr; member
150 ipq->ipq_hdr = ip; in ip_reasm_add()
153 off_q = ntohs(p->ipq_hdr->ip_off) & IP_OFFMASK; in ip_reasm_add()
181 off_q = ntohs(next->ipq_hdr->ip_off) & IP_OFFMASK; in ip_reasm_add()
313 fragoffset = (ntohs(ipq->ipq_hdr->ip_off) & IP_OFFMASK) * 8; in readipv4()
316 __func__, ntohs(ipq->ipq_hdr->ip_id), in readipv4()
317 inet_ntoa(ipq->ipq_hdr->ip_src))); in readipv4()
319 inet_ntoa(ipq->ipq_hdr->ip_dst), in readipv4()
321 (ntohs(ipq->ipq_hdr->ip_off) & IP_MF) != 0)); in readipv4()
326 n += ntohs(ipq->ipq_hdr->ip_len) - (ipq->ipq_hdr->ip_hl << 2); in readipv4()
331 if ((ntohs(last->ipq_hdr->ip_off) & IP_MF) != 0) { in readipv4()
333 __func__, ntohs(last->ipq_hdr->ip_id), in readipv4()
334 inet_ntoa(last->ipq_hdr->ip_src))); in readipv4()
336 inet_ntoa(last->ipq_hdr->ip_dst), in readipv4()
337 (ntohs(last->ipq_hdr->ip_off) & IP_OFFMASK) * 8, in readipv4()
338 (ntohs(last->ipq_hdr->ip_off) & IP_MF) != 0)); in readipv4()
358 bcopy(ipq->ipq_hdr, ipr->ip_hdr, sizeof(*ipr->ip_hdr)); in readipv4()
370 hlen = ipq->ipq_hdr->ip_hl << 2; in readipv4()
371 len = ntohs(ipq->ipq_hdr->ip_len) - hlen; in readipv4()
372 data = (char *)((uintptr_t)ipq->ipq_hdr + hlen); in readipv4()