Home | History | Annotate | Download | only in iputils

Lines Matching defs:current

40    server.  Written originally with multiple buffers in mind, but current
72 static int current; /* index of buffer in use */
90 current = 0;
97 /* Have emptied current buffer by sending to net and getting ack.
104 bfs[current].counter = BF_FREE; /* free old one */
105 current = !current; /* "incr" current */
107 b = &bfs[current]; /* look at new buffer */
169 bfs[current].counter = ct; /* set size of data to write */
170 current = !current; /* switch to other buffer */
171 if (bfs[current].counter != BF_FREE) /* if not free */
173 bfs[current].counter = BF_ALLOC; /* mark as alloc'd */
174 *dpp = (struct tftphdr *)bfs[current].buf;
190 register int c; /* current character */