Lines Matching refs:wbuf
147 } __packed __aligned(4) wbuf;
152 if (len > sizeof(wbuf.space))
153 len = sizeof(wbuf.space);
155 wbuf.t.th_opcode = htons((u_short) ERROR);
156 wbuf.t.th_code = htons(errcode);
158 wtail = wbuf.t.th_msg;
163 sendudp(h->iodesc, &wbuf.t, wtail - (char *) &wbuf.t);
172 } __packed __aligned(4) wbuf;
175 wbuf.t.th_opcode = htons((u_short) ACK);
176 wtail = (char *) &wbuf.t.th_block;
177 wbuf.t.th_block = htons((u_short) h->currblock);
180 sendudp(h->iodesc, &wbuf.t, wtail - (char *) &wbuf.t);
275 } __packed __aligned(4) wbuf;
292 wbuf.t.th_opcode = htons((u_short) RRQ);
293 wtail = wbuf.t.th_stuff;
321 res = sendrecv_tftp(h, &sendudp, &wbuf.t, wtail - (char *) &wbuf.t,
355 } __packed __aligned(4) wbuf;
360 wbuf.t.th_opcode = htons((u_short) ACK);
361 wtail = (char *) &wbuf.t.th_block;
362 wbuf.t.th_block = htons((u_short) h->currblock);
369 res = sendrecv_tftp(h, &sendudp, &wbuf.t, wtail - (char *) &wbuf.t,
382 wbuf.t.th_block = htons((u_short) h->currblock);
383 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t);