Lines Matching refs:control_frame
304 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()
448 free(response_queue->control_frame); in SPDYF_response_queue_destroy()