Searched refs:ibuf_len (Results 1 – 2 of 2) sorted by relevance
82 int ibuf_len; /* how many bytes are in it */ member155 i = ctx->ibuf_len; in buffer_read()163 ctx->ibuf_len -= i; in buffer_read()206 ctx->ibuf_len = i; in buffer_read()298 ctx->ibuf_len = 0; in buffer_ctrl()322 ret = (long)ctx->ibuf_len; in buffer_ctrl()364 ctx->ibuf_len = 0; in buffer_ctrl()442 if (ctx->ibuf_len > 0) { in buffer_gets()445 for (i = 0; (i < ctx->ibuf_len) && (i < size); i++) { in buffer_gets()455 ctx->ibuf_len -= i; in buffer_gets()[all …]
299 int ibuf_len = 0; in if_openrawsocket() local338 if (ioctl(fd, BIOCGBLEN, &ibuf_len) == -1) in if_openrawsocket()340 buf_len = (size_t)ibuf_len; in if_openrawsocket()