Lines Matching refs:srect_hdr
296 struct rfb_srvr_rect_hdr srect_hdr; in rfb_send_resize_update_msg() local
305 srect_hdr.x = htons(0); in rfb_send_resize_update_msg()
306 srect_hdr.y = htons(0); in rfb_send_resize_update_msg()
307 srect_hdr.width = htons(rc->width); in rfb_send_resize_update_msg()
308 srect_hdr.height = htons(rc->height); in rfb_send_resize_update_msg()
309 srect_hdr.encoding = htonl(RFB_ENCODING_RESIZE); in rfb_send_resize_update_msg()
310 stream_write(cfd, &srect_hdr, sizeof(struct rfb_srvr_rect_hdr)); in rfb_send_resize_update_msg()
317 struct rfb_srvr_rect_hdr srect_hdr; in rfb_send_extended_keyevent_update_msg() local
326 srect_hdr.x = htons(0); in rfb_send_extended_keyevent_update_msg()
327 srect_hdr.y = htons(0); in rfb_send_extended_keyevent_update_msg()
328 srect_hdr.width = htons(rc->width); in rfb_send_extended_keyevent_update_msg()
329 srect_hdr.height = htons(rc->height); in rfb_send_extended_keyevent_update_msg()
330 srect_hdr.encoding = htonl(RFB_ENCODING_EXT_KEYEVENT); in rfb_send_extended_keyevent_update_msg()
331 stream_write(cfd, &srect_hdr, sizeof(struct rfb_srvr_rect_hdr)); in rfb_send_extended_keyevent_update_msg()
494 struct rfb_srvr_rect_hdr srect_hdr; in rfb_send_rect() local
506 srect_hdr.x = htons(x); in rfb_send_rect()
507 srect_hdr.y = htons(y); in rfb_send_rect()
508 srect_hdr.width = htons(w); in rfb_send_rect()
509 srect_hdr.height = htons(h); in rfb_send_rect()
538 srect_hdr.encoding = htonl(RFB_ENCODING_ZLIB); in rfb_send_rect()
539 nwrite = stream_write(cfd, &srect_hdr, in rfb_send_rect()
563 srect_hdr.encoding = htonl(RFB_ENCODING_RAW); in rfb_send_rect()
564 nwrite = stream_write(cfd, &srect_hdr, in rfb_send_rect()
578 struct rfb_srvr_rect_hdr srect_hdr; in rfb_send_all() local
602 srect_hdr.x = 0; in rfb_send_all()
603 srect_hdr.y = 0; in rfb_send_all()
604 srect_hdr.width = htons(gc->width); in rfb_send_all()
605 srect_hdr.height = htons(gc->height); in rfb_send_all()
626 srect_hdr.encoding = htonl(RFB_ENCODING_ZLIB); in rfb_send_all()
627 nwrite = stream_write(cfd, &srect_hdr, in rfb_send_all()
640 srect_hdr.encoding = htonl(RFB_ENCODING_RAW); in rfb_send_all()
641 nwrite = stream_write(cfd, &srect_hdr, in rfb_send_all()