Home | History | Annotate | Download | only in slirp

Lines Matching defs:len

51  * header (with len, off, ttl, proto, tos, src, dst).
61 int len, off, error = 0;
69 * m = ip_insertoptions(m, opt, &len);
70 * hlen = len;
117 len = (IF_MTU - hlen) &~ 7; /* ip databytes per packet */
118 if (len < 8) {
124 int mhlen, firstlen = len;
133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) {
155 if (off + len >= (u_int16_t)ip->ip_len)
156 len = (u_int16_t)ip->ip_len - off;
159 mhip->ip_len = htons((u_int16_t)(len + mhlen));
161 if (m_copy(m, m0, off, len) < 0) {