Lines Matching full:wbuf
155 } __packed __aligned(4) wbuf; in tftp_senderr()
160 if (len > sizeof(wbuf.space)) in tftp_senderr()
161 len = sizeof(wbuf.space); in tftp_senderr()
163 wbuf.t.th_opcode = htons((u_short)ERROR); in tftp_senderr()
164 wbuf.t.th_code = htons(errcode); in tftp_senderr()
166 wtail = wbuf.t.th_msg; in tftp_senderr()
171 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t); in tftp_senderr()
180 } __packed __aligned(4) wbuf; in tftp_sendack()
183 wbuf.t.th_opcode = htons((u_short)ACK); in tftp_sendack()
184 wtail = (char *)&wbuf.t.th_block; in tftp_sendack()
185 wbuf.t.th_block = htons(block); in tftp_sendack()
191 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t); in tftp_sendack()
314 } __packed __aligned(4) wbuf; in tftp_makereq()
332 wbuf.t.th_opcode = htons((u_short)RRQ); in tftp_makereq()
333 wtail = wbuf.t.th_stuff; in tftp_makereq()
369 res = sendrecv(h->iodesc, &sendudp, &wbuf.t, wtail - (char *)&wbuf.t, in tftp_makereq()
414 } __packed __aligned(4) wbuf; in tftp_getnextblock()
421 wbuf.t.th_opcode = htons((u_short)ACK); in tftp_getnextblock()
422 wtail = (char *)&wbuf.t.th_block; in tftp_getnextblock()
423 wbuf.t.th_block = htons((u_short)h->currblock); in tftp_getnextblock()
434 res = sendrecv(h->iodesc, &sendudp, &wbuf.t, wtail - (char *)&wbuf.t, in tftp_getnextblock()