Searched refs:peeklen (Results 1 – 1 of 1) sorted by relevance
30 int peeklen; member196 int spaceleft = sizeof(ctx->peekbuf) - ctx->peeklen - ctx->peekstart; in rfbssl_gc_peekbuf()198 memmove(ctx->peekbuf, ctx->peekbuf + ctx->peekstart, ctx->peeklen); in rfbssl_gc_peekbuf()211 if (ctx->peeklen) { in __rfbssl_read()213 ret = bufsize < ctx->peeklen ? bufsize : ctx->peeklen; in __rfbssl_read()216 ctx->peeklen -= ret; in __rfbssl_read()217 if (ctx->peeklen != 0) in __rfbssl_read()232 memcpy(ctx->peekbuf + ctx->peekstart + ctx->peeklen, buf + ret, n); in __rfbssl_read()233 ctx->peeklen += n; in __rfbssl_read()254 int ret = ctx->peeklen; in rfbssl_pending()