Home | History | Annotate | Download | only in libsa

Lines Matching defs:iodesc

69 	struct iodesc  *iodesc;
93 static ssize_t recvtftp(struct iodesc *, void *, size_t, saseconds_t);
102 recvtftp(struct iodesc *d, void *pkt, size_t len, saseconds_t tleft)
175 /* h->iodesc->myport = htons(--tftpport); */
176 h->iodesc->myport = htons(tftpport + (getsecs() & 0x3ff));
177 h->iodesc->destport = htons(IPPORT_TFTP);
178 h->iodesc->xid = 1; /* expected block */
180 res = sendrecv(h->iodesc, sendudp, &wbuf.t, wtail - (char *)&wbuf.t,
212 h->iodesc->xid = h->currblock + 1; /* expected block */
214 res = sendrecv(h->iodesc, sendudp, &wbuf.t, wtail - (char *)&wbuf.t,
247 (void)sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t);
255 struct iodesc *io;
262 tftpfile->iodesc = io = socktodesc(*(int *)(f->f_devdata));