Home | History | Annotate | Download | only in netinet

Lines Matching defs:ip_len

822 	ip->ip_len = htons(sizeof(struct tcphdr));
826 ip->ip_len = hlen + sizeof(*tcp2);
835 * Expects ip_len to be in host byte order when called.
860 fnew.fin_plen = ntohs(ip->ip_len);
861 HTONS(ip->ip_len);
1082 ip->ip_len = iclen;
1112 u_short ip_off, ip_len;
1248 ip_len = ntohs(ip->ip_len);
1249 if (ip_len <= ifp->if_mtu) {
1294 for (off = hlen + len; off < ip_len; off += len) {
1316 if (off + len >= ip_len)
1317 len = ip_len - off;
1320 mhip->ip_len = htons((u_short)(len + mhlen));
1340 m_adj(m0, hlen + firstlen - ip_len);
1341 ip->ip_len = htons((u_short)(hlen + firstlen));