Lines Matching defs:srect_hdr
262 struct rfb_srvr_rect_hdr srect_hdr;
271 srect_hdr.x = htons(0);
272 srect_hdr.y = htons(0);
273 srect_hdr.width = htons(rc->width);
274 srect_hdr.height = htons(rc->height);
275 srect_hdr.encoding = htonl(RFB_ENCODING_RESIZE);
276 stream_write(cfd, &srect_hdr, sizeof(struct rfb_srvr_rect_hdr));
354 struct rfb_srvr_rect_hdr srect_hdr;
366 srect_hdr.x = htons(x);
367 srect_hdr.y = htons(y);
368 srect_hdr.width = htons(w);
369 srect_hdr.height = htons(h);
396 srect_hdr.encoding = htonl(RFB_ENCODING_ZLIB);
397 nwrite = stream_write(cfd, &srect_hdr,
420 srect_hdr.encoding = htonl(RFB_ENCODING_RAW);
421 nwrite = stream_write(cfd, &srect_hdr,
435 struct rfb_srvr_rect_hdr srect_hdr;
454 srect_hdr.x = 0;
455 srect_hdr.y = 0;
456 srect_hdr.width = htons(gc->width);
457 srect_hdr.height = htons(gc->height);
478 srect_hdr.encoding = htonl(RFB_ENCODING_ZLIB);
479 nwrite = stream_write(cfd, &srect_hdr,
492 srect_hdr.encoding = htonl(RFB_ENCODING_RAW);
493 nwrite = stream_write(cfd, &srect_hdr,