Lines Matching refs:wtail
148 char *wtail;
158 wtail = wbuf.t.th_msg;
159 bcopy(msg, wtail, len);
160 wtail[len] = '\0';
161 wtail += len + 1;
163 sendudp(h->iodesc, &wbuf.t, wtail - (char *) &wbuf.t);
173 char *wtail;
176 wtail = (char *) &wbuf.t.th_block;
178 wtail += 2;
180 sendudp(h->iodesc, &wbuf.t, wtail - (char *) &wbuf.t);
276 char *wtail;
293 wtail = wbuf.t.th_stuff;
298 bcopy(TFTP_PREPEND_PATH, wtail, sizeof(TFTP_PREPEND_PATH) - 1);
299 wtail += sizeof(TFTP_PREPEND_PATH) - 1;
304 bcopy(h->path, wtail, l + 1);
305 wtail += l + 1;
306 bcopy("octet", wtail, 6);
307 wtail += 6;
308 bcopy("blksize", wtail, 8);
309 wtail += 8;
310 blksize_l = sprintf(wtail, "%d", h->tftp_blksize);
311 wtail += blksize_l + 1;
312 bcopy("tsize", wtail, 6);
313 wtail += 6;
314 bcopy("0", wtail, 2);
315 wtail += 2;
328 res = sendrecv_tftp(h, &sendudp, &wbuf.t, wtail - (char *) &wbuf.t,
363 char *wtail;
368 wtail = (char *) &wbuf.t.th_block;
370 wtail += 2;
376 res = sendrecv_tftp(h, &sendudp, &wbuf.t, wtail - (char *) &wbuf.t,
390 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t);