Lines Matching defs:wtail
144 char *wtail;
154 wtail = wbuf.t.th_msg;
155 bcopy(msg, wtail, len);
156 wtail[len] = '\0';
157 wtail += len + 1;
159 sendudp(h->iodesc, &wbuf.t, wtail - (char *) &wbuf.t);
169 char *wtail;
172 wtail = (char *) &wbuf.t.th_block;
174 wtail += 2;
176 sendudp(h->iodesc, &wbuf.t, wtail - (char *) &wbuf.t);
284 char *wtail;
302 wtail = wbuf.t.th_stuff;
307 bcopy(TFTP_PREPEND_PATH, wtail, sizeof(TFTP_PREPEND_PATH) - 1);
308 wtail += sizeof(TFTP_PREPEND_PATH) - 1;
313 bcopy(h->path, wtail, l + 1);
314 wtail += l + 1;
315 bcopy("octet", wtail, 6);
316 wtail += 6;
317 bcopy("blksize", wtail, 8);
318 wtail += 8;
319 blksize_l = sprintf(wtail, "%d", h->tftp_blksize);
320 wtail += blksize_l + 1;
321 bcopy("tsize", wtail, 6);
322 wtail += 6;
323 bcopy("0", wtail, 2);
324 wtail += 2;
336 res = sendrecv_tftp(h, &sendudp, &wbuf.t, wtail - (char *) &wbuf.t,
379 char *wtail;
385 wtail = (char *) &wbuf.t.th_block;
387 wtail += 2;
392 res = sendrecv_tftp(h, &sendudp, &wbuf.t, wtail - (char *) &wbuf.t,
411 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t);