Lines Matching refs:wbuf
145 } __packed __aligned(4) wbuf;
150 if (len > sizeof(wbuf.space))
151 len = sizeof(wbuf.space);
153 wbuf.t.th_opcode = htons((u_short)ERROR);
154 wbuf.t.th_code = htons(errcode);
156 wtail = wbuf.t.th_msg;
161 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t);
170 } __packed __aligned(4) wbuf;
173 wbuf.t.th_opcode = htons((u_short)ACK);
174 wtail = (char *)&wbuf.t.th_block;
175 wbuf.t.th_block = htons(block);
178 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t);
296 } __packed __aligned(4) wbuf;
314 wbuf.t.th_opcode = htons((u_short)RRQ);
315 wtail = wbuf.t.th_stuff;
349 res = sendrecv(h->iodesc, &sendudp, &wbuf.t, wtail - (char *)&wbuf.t,
391 } __packed __aligned(4) wbuf;
398 wbuf.t.th_opcode = htons((u_short)ACK);
399 wtail = (char *)&wbuf.t.th_block;
400 wbuf.t.th_block = htons((u_short)h->currblock);
407 res = sendrecv(h->iodesc, &sendudp, &wbuf.t, wtail - (char *)&wbuf.t,
425 wbuf.t.th_block = htons((u_short)h->currblock);
426 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t);