Home
last modified time | relevance | path

Searched refs:tleft (Results 1 – 9 of 9) sorted by relevance

/trueos/lib/libstand/
HDnet.c80 long tleft; in sendrecv() local
89 tleft = 0; in sendrecv()
92 if (tleft <= 0) { in sendrecv()
102 tleft = tmo; in sendrecv()
111 tleft = 0; in sendrecv()
119 cc = (*rproc)(d, rbuf, rsize, tleft); in sendrecv()
126 tleft -= t - tlast; in sendrecv()
HDtftp.c184 recvtftp(struct tftp_handle *h, void *pkt, ssize_t len, time_t tleft, in recvtftp() argument
192 len = readudp(d, pkt, len, tleft); in recvtftp()
582 time_t t, t1, tleft; in sendrecv_tftp() local
589 tleft = MINTMO; in sendrecv_tftp()
604 while ((getsecs() - t1) < tleft); in sendrecv_tftp()
610 cc = (*rproc)(h, rbuf, rsize, tleft, rtype); in sendrecv_tftp()
614 if ((getsecs() - t1) < tleft) { in sendrecv_tftp()
619 tleft += MINTMO; in sendrecv_tftp()
620 if (tleft > (2 * MINTMO)) { in sendrecv_tftp()
621 tleft = (2 * MINTMO); in sendrecv_tftp()
HDether.c93 readether(d, pkt, len, tleft, etype) in readether() argument
97 time_t tleft;
111 n = netif_get(d, eh, len, tleft);
HDrarp.c156 rarprecv(d, pkt, len, tleft) in rarprecv() argument
160 time_t tleft;
171 n = readether(d, pkt, len, tleft, &etype);
HDarp.c169 arprecv(d, pkt, len, tleft) in arprecv() argument
173 time_t tleft;
184 n = readether(d, pkt, len, tleft, &etype);
HDudp.c137 readudp(d, pkt, len, tleft) in readudp() argument
141 time_t tleft;
157 n = readether(d, ip, len + sizeof(*ip) + sizeof(*uh), tleft, &etype);
HDnet.h100 time_t tleft, u_int16_t *etype);
HDrpc.c230 recvrpc(struct iodesc *d, void *pkt, size_t len, time_t tleft) in recvrpc() argument
242 n = readudp(d, pkt, len, tleft); in recvrpc()
HDbootp.c291 bootprecv(d, pkt, len, tleft) in bootprecv() argument
295 time_t tleft;
305 n = readudp(d, pkt, len, tleft);