Lines Matching refs:write_out_ptr
103 mms->write_out_ptr = mms->out_buffer; in start_command_packet()
105 bytestream_put_le32(&mms->write_out_ptr, 1); // start sequence in start_command_packet()
106 bytestream_put_le32(&mms->write_out_ptr, 0xb00bface); in start_command_packet()
107 bytestream_put_le32(&mms->write_out_ptr, 0); // Length starts from after the protocol type bytes in start_command_packet()
108 bytestream_put_le32(&mms->write_out_ptr, MKTAG('M','M','S',' ')); in start_command_packet()
109 bytestream_put_le32(&mms->write_out_ptr, 0); in start_command_packet()
110 bytestream_put_le32(&mms->write_out_ptr, mmst->outgoing_packet_seq++); in start_command_packet()
111 bytestream_put_le64(&mms->write_out_ptr, 0); // timestamp in start_command_packet()
112 bytestream_put_le32(&mms->write_out_ptr, 0); in start_command_packet()
113 bytestream_put_le16(&mms->write_out_ptr, packet_type); in start_command_packet()
114 bytestream_put_le16(&mms->write_out_ptr, 3); // direction to server in start_command_packet()
121 bytestream_put_le32(&mms->write_out_ptr, prefix1); // first prefix in insert_command_prefixes()
122 bytestream_put_le32(&mms->write_out_ptr, prefix2); // second prefix in insert_command_prefixes()
129 int len= mms->write_out_ptr - mms->out_buffer; in send_command_packet()
139 memset(mms->write_out_ptr, 0, exact_length - len); in send_command_packet()
158 int size = mms->write_out_ptr - mms->out_buffer; in mms_put_utf16()
160 ffio_init_context(&bic, mms->write_out_ptr, in mms_put_utf16()
166 mms->write_out_ptr += len; in mms_put_utf16()
185 bytestream_put_le32(&mms->write_out_ptr, 0); // maxFunnelBytes in send_protocol_select()
186 bytestream_put_le32(&mms->write_out_ptr, 0x00989680); // maxbitRate in send_protocol_select()
187 bytestream_put_le32(&mms->write_out_ptr, 2); // funnelMode in send_protocol_select()
207 bytestream_put_le32(&mms->write_out_ptr, 0); in send_media_file_request()
208 bytestream_put_le32(&mms->write_out_ptr, 0); in send_media_file_request()
407 bytestream_put_le32(&mms->write_out_ptr, 0); in send_media_header_request()
408 bytestream_put_le32(&mms->write_out_ptr, 0x00800000); in send_media_header_request()
409 bytestream_put_le32(&mms->write_out_ptr, 0xffffffff); in send_media_header_request()
410 bytestream_put_le32(&mms->write_out_ptr, 0); in send_media_header_request()
411 bytestream_put_le32(&mms->write_out_ptr, 0); in send_media_header_request()
412 bytestream_put_le32(&mms->write_out_ptr, 0); in send_media_header_request()
415 bytestream_put_le32(&mms->write_out_ptr, 0); in send_media_header_request()
416 bytestream_put_le32(&mms->write_out_ptr, 0x40AC2000); in send_media_header_request()
417 bytestream_put_le32(&mms->write_out_ptr, 2); in send_media_header_request()
418 bytestream_put_le32(&mms->write_out_ptr, 0); in send_media_header_request()
439 bytestream_put_le32(&mms->write_out_ptr, 0x0003001c); in send_startup_packet()
452 bytestream_put_le32(&mms->write_out_ptr, mms->stream_num); // stream nums in send_stream_selection_request()
454 bytestream_put_le16(&mms->write_out_ptr, 0xffff); // flags in send_stream_selection_request()
455 bytestream_put_le16(&mms->write_out_ptr, mms->streams[i].id); // stream id in send_stream_selection_request()
456 bytestream_put_le16(&mms->write_out_ptr, 0); // selection in send_stream_selection_request()
491 bytestream_put_le64(&mms->write_out_ptr, 0); // seek timestamp in send_media_packet_request()
492 bytestream_put_le32(&mms->write_out_ptr, 0xffffffff); // unknown in send_media_packet_request()
493 bytestream_put_le32(&mms->write_out_ptr, 0xffffffff); // packet offset in send_media_packet_request()
494 bytestream_put_byte(&mms->write_out_ptr, 0xff); // max stream time limit in send_media_packet_request()
495 bytestream_put_byte(&mms->write_out_ptr, 0xff); // max stream time limit in send_media_packet_request()
496 bytestream_put_byte(&mms->write_out_ptr, 0xff); // max stream time limit in send_media_packet_request()
497 bytestream_put_byte(&mms->write_out_ptr, 0x00); // stream time limit flag in send_media_packet_request()
500 bytestream_put_le32(&mms->write_out_ptr, mmst->packet_id); in send_media_packet_request()