Searched refs:stream_read (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | rfb.c | 226 l = stream_read(c->rc_fd, buf, sizeof (buf)); in rfb_handshake_version() 302 if (stream_read(c->rc_fd, buf, 1) != 1) { in rfb_handshake_auth() 382 if (stream_read(c->rc_fd, buf, RFBP_SECURITY_VNC_AUTH_LEN) in rfb_handshake_auth() 421 if (stream_read(c->rc_fd, buf, 1) != 1) { in rfb_handshake_init_message() 513 if (stream_read(c->rc_fd, &msg, sizeof (msg)) != sizeof (msg)) in rfb_recv_set_pixel_format() 562 if (stream_read(c->rc_fd, &msg, sizeof (msg)) != sizeof (msg)) in rfb_recv_set_encodings() 572 if (stream_read(c->rc_fd, &enc, sizeof (enc)) != sizeof (enc)) in rfb_recv_set_encodings() 622 if (stream_read(c->rc_fd, &msg, sizeof (msg)) != sizeof (msg)) in rfb_recv_update() 650 if (stream_read(c->rc_fd, &msg, sizeof (msg)) != sizeof (msg)) in rfb_recv_key_event() 669 if (stream_read(c->rc_fd, &msg, sizeof (msg)) != sizeof (msg)) in rfb_recv_pointer_event() [all …]
|
H A D | sockstream.h | 32 ssize_t stream_read(int fd, void *buf, ssize_t nbytes);
|
H A D | sockstream.c | 42 stream_read(int fd, void *buf, ssize_t nbytes) in stream_read() function
|