Lines Matching refs:iplen
85 int err, iplen; in send_ip() local
114 iplen = ip->ip_len; in send_ip()
115 ip->ip_len = htons(iplen); in send_ip()
132 if (!frag || (sizeof(*eh) + iplen < mtu)) in send_ip()
137 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen); in send_ip()
138 err = sendip(nfd, ipbuf, sizeof(*eh) + iplen); in send_ip()
191 iplen = ntohs(ip->ip_len) - hlen; in send_ip()
196 if ((sent + (mtu - hlen)) >= iplen) in send_ip()
199 ts = iplen - sent; in send_ip()
239 int thlen, i, iplen, hlen; in send_tcp() local
243 iplen = ip->ip_len; in send_tcp()
268 iplen - thlen - hlen); in send_tcp()