Searched refs:RFB_VERSION_LEN (Results 1 – 2 of 2) sorted by relevance
33 #define RFB_VERSION_LEN (sizeof (RFB_VERSION) - 1) macro35 _Static_assert(RFB_VERSION_LEN == 12, "RFB_VERSION length incorrect");
215 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()