Lines Matching refs:state
170 if(data->state.rtsp_next_client_CSeq == 0) in rtsp_connect()
171 data->state.rtsp_next_client_CSeq = 1; in rtsp_connect()
172 if(data->state.rtsp_next_server_CSeq == 0) in rtsp_connect()
173 data->state.rtsp_next_server_CSeq = 1; in rtsp_connect()
245 rtsp->CSeq_sent = data->state.rtsp_next_client_CSeq; in rtsp_do()
251 if(!data->state.first_host) { in rtsp_do()
252 data->state.first_host = strdup(conn->host.name); in rtsp_do()
253 if(!data->state.first_host) in rtsp_do()
256 data->state.first_remote_port = conn->remote_port; in rtsp_do()
257 data->state.first_remote_protocol = conn->handler->protocol; in rtsp_do()
341 Curl_safefree(data->state.aptr.rtsp_transport); in rtsp_do()
343 data->state.aptr.rtsp_transport = in rtsp_do()
346 if(!data->state.aptr.rtsp_transport) in rtsp_do()
356 p_transport = data->state.aptr.rtsp_transport; in rtsp_do()
368 Curl_safefree(data->state.aptr.accept_encoding); in rtsp_do()
369 data->state.aptr.accept_encoding = in rtsp_do()
372 if(!data->state.aptr.accept_encoding) { in rtsp_do()
376 p_accept_encoding = data->state.aptr.accept_encoding; in rtsp_do()
385 data->state.aptr.uagent) { in rtsp_do()
386 Curl_safefree(data->state.aptr.uagent); in rtsp_do()
390 p_uagent = data->state.aptr.uagent; in rtsp_do()
400 p_proxyuserpwd = data->state.aptr.proxyuserpwd; in rtsp_do()
402 p_userpwd = data->state.aptr.userpwd; in rtsp_do()
405 Curl_safefree(data->state.aptr.ref); in rtsp_do()
406 if(data->state.referer && !Curl_checkheaders(data, STRCONST("Referer"))) in rtsp_do()
407 data->state.aptr.ref = aprintf("Referer: %s\r\n", data->state.referer); in rtsp_do()
409 p_referrer = data->state.aptr.ref; in rtsp_do()
417 if(data->state.use_range && in rtsp_do()
421 if(!Curl_checkheaders(data, STRCONST("Range")) && data->state.range) { in rtsp_do()
422 Curl_safefree(data->state.aptr.rangeline); in rtsp_do()
423 data->state.aptr.rangeline = aprintf("Range: %s\r\n", data->state.range); in rtsp_do()
424 p_range = data->state.aptr.rangeline; in rtsp_do()
486 Curl_safefree(data->state.aptr.userpwd); in rtsp_do()
506 if(data->state.upload) { in rtsp_do()
507 req_clen = data->state.infilesize; in rtsp_do()
508 data->state.httpreq = HTTPREQ_PUT; in rtsp_do()
519 else if(data->state.infilesize >= 0) { in rtsp_do()
520 req_clen = data->state.infilesize; in rtsp_do()
565 data->state.httpreq = HTTPREQ_HEAD; in rtsp_do()
590 data->state.rtsp_next_client_CSeq++; in rtsp_do()
642 switch(rtspc->state) { in rtsp_filter_rtp()
655 rtspc->state = RTP_PARSE_SKIP; in rtsp_filter_rtp()
683 rtspc->state = RTP_PARSE_CHANNEL; in rtsp_filter_rtp()
692 if(!(data->state.rtp_channel_mask[idx] & (1 << off))) { in rtsp_filter_rtp()
694 rtspc->state = RTP_PARSE_SKIP; in rtsp_filter_rtp()
722 rtspc->state = RTP_PARSE_LEN; in rtsp_filter_rtp()
741 rtspc->state = RTP_PARSE_DATA; in rtsp_filter_rtp()
764 rtspc->state = RTP_PARSE_SKIP; in rtsp_filter_rtp()
850 if(rtspc->state != RTP_PARSE_SKIP) in rtsp_rtp_write_resp()
857 blen, rtspc->in_header, data->req.done, rtspc->state, in rtsp_rtp_write_resp()
867 (rtspc->state == RTP_PARSE_SKIP)) { in rtsp_rtp_write_resp()
930 data->state.rtsp_CSeq_recv = CSeq; /* update the handle */ in Curl_rtsp_parseheader()
1011 unsigned char *rtp_channel_mask = data->state.rtp_channel_mask; in rtsp_parse_transport()