Lines Matching defs: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;
297 bcopy(h->path, wtail, l + 1);
298 wtail += l + 1;
299 bcopy("octet", wtail, 6);
300 wtail += 6;
301 bcopy("blksize", wtail, 8);
302 wtail += 8;
303 blksize_l = sprintf(wtail, "%d", h->tftp_blksize);
304 wtail += blksize_l + 1;
305 bcopy("tsize", wtail, 6);
306 wtail += 6;
307 bcopy("0", wtail, 2);
308 wtail += 2;
321 res = sendrecv_tftp(h, &sendudp, &wbuf.t, wtail - (char *) &wbuf.t,
356 char *wtail;
361 wtail = (char *) &wbuf.t.th_block;
363 wtail += 2;
369 res = sendrecv_tftp(h, &sendudp, &wbuf.t, wtail - (char *) &wbuf.t,
383 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t);