Lines Matching defs:rbuf
138 char *rbuf = xmalloc(tftp_bufsize);
233 len = recvfrom(socketfd, rbuf, tftp_bufsize, 0,
264 opcode = ntohs( ((uint16_t*)rbuf)[0] );
265 recv_blk = ntohs( ((uint16_t*)rbuf)[1] );
286 if (rbuf[4] != '\0') {
287 msg = &rbuf[4];
288 rbuf[tftp_bufsize - 1] = '\0';
304 res = tftp_option_get(&rbuf[2], len - 2, "blksize");
342 len = full_write(localfd, &rbuf[4], len - 4);
383 free(rbuf);