Home
last modified time | relevance | path

Searched refs:control_frame (Results 1 – 5 of 5) sorted by relevance

/external/libmicrohttpd/src/microspdy/
Dsession.c426 struct SPDYF_Control_Frame control_frame; in SPDYF_handler_write_syn_reply() local
435 memcpy(&control_frame, response_queue->control_frame, sizeof(control_frame)); in SPDYF_handler_write_syn_reply()
479 control_frame.length = compressed_headers_size + 4; // compressed data + stream_id in SPDYF_handler_write_syn_reply()
480 SPDYF_CONTROL_FRAME_HTON(&control_frame); in SPDYF_handler_write_syn_reply()
483 …memcpy(session->write_buffer + session->write_buffer_offset,&control_frame,sizeof(struct SPDYF_Con… in SPDYF_handler_write_syn_reply()
520 struct SPDYF_Control_Frame control_frame; in SPDYF_handler_write_goaway() local
526 memcpy(&control_frame, response_queue->control_frame, sizeof(control_frame)); in SPDYF_handler_write_goaway()
542 control_frame.length = 8; // always for GOAWAY in SPDYF_handler_write_goaway()
543 SPDYF_CONTROL_FRAME_HTON(&control_frame); in SPDYF_handler_write_goaway()
546 …memcpy(session->write_buffer + session->write_buffer_offset,&control_frame,sizeof(struct SPDYF_Con… in SPDYF_handler_write_goaway()
[all …]
Dstructures.c304 struct SPDYF_Control_Frame *control_frame; in SPDYF_response_queue_create() local
404 if(NULL == (control_frame = malloc(sizeof(struct SPDYF_Control_Frame)))) in SPDYF_response_queue_create()
409 memset(control_frame, 0, sizeof(struct SPDYF_Control_Frame)); in SPDYF_response_queue_create()
410 control_frame->control_bit = 1; in SPDYF_response_queue_create()
411 control_frame->version = SPDY_VERSION; in SPDYF_response_queue_create()
412 control_frame->type = SPDY_CONTROL_FRAME_TYPES_SYN_REPLY; in SPDYF_response_queue_create()
414 control_frame->flags |= SPDY_SYN_REPLY_FLAG_FIN; in SPDYF_response_queue_create()
416 response_to_queue->control_frame = control_frame; in SPDYF_response_queue_create()
440 && (SPDY_CONTROL_FRAME_TYPES_RST_STREAM == response_queue->control_frame->type in SPDYF_response_queue_destroy()
441 || SPDY_CONTROL_FRAME_TYPES_GOAWAY == response_queue->control_frame->type)) in SPDYF_response_queue_destroy()
[all …]
Dstream.c134 else if(NULL != response_queue->control_frame) in SPDYF_stream_set_flags_on_write()
136 switch(response_queue->control_frame->type) in SPDYF_stream_set_flags_on_write()
139 stream->is_out_closed = (bool)(response_queue->control_frame->flags & SPDY_SYN_REPLY_FLAG_FIN); in SPDYF_stream_set_flags_on_write()
Dapplicationlayer.c220 (NULL != response_queue->control_frame) ) || in spdy_handler_response_queue_result()
222 (NULL == response_queue->control_frame) ), in spdy_handler_response_queue_result()
Dstructures.h430 struct SPDYF_Control_Frame *control_frame; member