Lines Matching refs:ip_len
553 frent->fe_len = ntohs(ip->ip_len) - (ip->ip_hl << 2);
587 ip->ip_len = htons(hdrlen + total);
592 ip->ip_len = 0;
598 DPFPRINTF(("complete: %p(%d)\n", m, ntohs(ip->ip_len)));
813 int ip_len;
859 if (hlen > ntohs(h->ip_len)) {
885 ip_len = ntohs(h->ip_len) - hlen;
889 if (mff && (ip_len & 0x7)) {
890 DPFPRINTF(("mff and %d\n", ip_len));
895 if (fragoff + ip_len > IP_MAXPACKET) {
896 DPFPRINTF(("max packet %d\n", fragoff + ip_len));
899 max = fragoff + ip_len;