Lines Matching defs:iplen
101 int err, iplen;
130 iplen = ip->ip_len;
131 ip->ip_len = htons(iplen);
148 if (!frag || (sizeof(*eh) + iplen < mtu))
153 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen);
154 err = sendip(nfd, ipbuf, sizeof(*eh) + iplen);
207 iplen = ntohs(ip->ip_len) - hlen;
212 if ((sent + (mtu - hlen)) >= iplen)
215 ts = iplen - sent;
257 int thlen, i, iplen, hlen;
261 iplen = ip->ip_len;
286 iplen - thlen - hlen);