Home | History | Annotate | Download | only in netboot

Lines Matching full:len

46 static unsigned short len, saved_len;
80 ++iport, TFTP_PORT, len, &tp))
128 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 2;
129 if (len > TFTP_MAX_PACKET)
132 e = p + len;
164 len = (grub_sprintf ((char *) tp.u.err.errmsg,
171 len, &tp);
194 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 4;
197 if (len > packetsize)
200 grub_printf ("%s:%d: warning: LEN > PACKETSIZE (0x%x > 0x%x)\n",
201 __FILE__, __LINE__, len, packetsize);
246 grub_memmove (buf + buf_read, tr->u.data.download, len);
247 buf_read += len;
250 if (len < packetsize)
257 /* Send the RRQ whose length is LEN. */
287 for (i = 0, p = (char *) &tp; i < len; i++)
298 TFTP_PORT, len, &tp);
334 len = saved_len;
433 len = (grub_sprintf ((char *) tp.u.rrq,
440 grub_memmove ((char *) &saved_tp, (char *) &tp, len);
441 saved_len = len;