Home
last modified time | relevance | path

Searched refs:RFB_VERSION_LEN (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Drfb_impl.h33 #define RFB_VERSION_LEN (sizeof (RFB_VERSION) - 1) macro
35 _Static_assert(RFB_VERSION_LEN == 12, "RFB_VERSION length incorrect");
H A Drfb.c215 unsigned char buf[RFB_VERSION_LEN]; in rfb_handshake_version()
220 if (stream_write(c->rc_fd, RFB_VERSION, RFB_VERSION_LEN) != in rfb_handshake_version()
221 RFB_VERSION_LEN) { in rfb_handshake_version()
230 } else if (l != RFB_VERSION_LEN) { in rfb_handshake_version()
239 if (strncmp(RFB_VERSION, (char *)buf, RFB_VERSION_LEN - 2) != 0) { in rfb_handshake_version()
244 switch (buf[RFB_VERSION_LEN - 2]) { in rfb_handshake_version()