Lines Matching defs:len
67 static int tftp_parse_oack(struct tftp_handle *h, char *buf, size_t len);
149 int len;
151 len = strlen(msg);
152 if (len > sizeof(wbuf.space))
153 len = sizeof(wbuf.space);
159 bcopy(msg, wtail, len);
160 wtail[len] = '\0';
161 wtail += len + 1;
184 recvtftp(struct tftp_handle *h, void *pkt, ssize_t len, time_t tleft,
192 len = readudp(d, pkt, len, tleft);
194 if (len < 4)
217 got = len - (t->th_data - (char *) t);
251 tftp_oack_len = len - sizeof(t->th_opcode);
692 tftp_parse_oack(struct tftp_handle *h, char *buf, size_t len)
707 while (option_idx < 128 && i < len) {