Home | History | Annotate | Download | only in slirp

Lines Matching defs:len

134 	int len, n,  nn;
136 len = m->m_len;
140 if (n > len) n = len;
145 if (n > len) n = len;
147 len -= n;
148 if (len) {
151 if (nn > len) nn = len;
169 sbcopy(struct sbuf *sb, int off, int len, char *to)
178 if (len > sb->sb_cc) len = sb->sb_cc;
179 memcpy(to,from,len);
183 if (off > len) off = len;
185 len -= off;
186 if (len)
187 memcpy(to+off,sb->sb_data,len);