• Home
  • Raw
  • Download

Lines Matching refs:control_frame

426 	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()
745 struct SPDYF_Control_Frame control_frame; in SPDYF_handler_write_rst_stream() local
750 memcpy(&control_frame, response_queue->control_frame, sizeof(control_frame)); in SPDYF_handler_write_rst_stream()
764 control_frame.length = 8; // always for RST_STREAM in SPDYF_handler_write_rst_stream()
765 SPDYF_CONTROL_FRAME_HTON(&control_frame); in SPDYF_handler_write_rst_stream()
768 …memcpy(session->write_buffer + session->write_buffer_offset,&control_frame,sizeof(struct SPDYF_Con… in SPDYF_handler_write_rst_stream()
790 struct SPDYF_Control_Frame control_frame; in SPDYF_handler_write_window_update() local
795 memcpy(&control_frame, response_queue->control_frame, sizeof(control_frame)); in SPDYF_handler_write_window_update()
809 control_frame.length = 8; // always for WINDOW_UPDATE in SPDYF_handler_write_window_update()
810 SPDYF_CONTROL_FRAME_HTON(&control_frame); in SPDYF_handler_write_window_update()
813 …memcpy(session->write_buffer + session->write_buffer_offset,&control_frame,sizeof(struct SPDYF_Con… in SPDYF_handler_write_window_update()
1043 != session->response_queue_head->control_frame->type) in SPDYF_session_write()
1159 struct SPDYF_Control_Frame* control_frame; in SPDYF_session_idle() local
1190 if(NULL == (control_frame = malloc(sizeof(struct SPDYF_Control_Frame)))) in SPDYF_session_idle()
1197 memcpy(control_frame, in SPDYF_session_idle()
1201 SPDYF_CONTROL_FRAME_NTOH(control_frame); in SPDYF_session_idle()
1205 switch(control_frame->type){ in SPDYF_session_idle()
1218 session->frame_handler_cls = control_frame; in SPDYF_session_idle()
1622 struct SPDYF_Control_Frame *control_frame; in SPDYF_prepare_goaway() local
1631 if(NULL == (control_frame = malloc(sizeof(struct SPDYF_Control_Frame)))) in SPDYF_prepare_goaway()
1636 memset(control_frame, 0, sizeof(struct SPDYF_Control_Frame)); in SPDYF_prepare_goaway()
1640 free(control_frame); in SPDYF_prepare_goaway()
1646 control_frame->control_bit = 1; in SPDYF_prepare_goaway()
1647 control_frame->version = SPDY_VERSION; in SPDYF_prepare_goaway()
1648 control_frame->type = SPDY_CONTROL_FRAME_TYPES_GOAWAY; in SPDYF_prepare_goaway()
1649 control_frame->flags = 0; in SPDYF_prepare_goaway()
1651 response_to_queue->control_frame = control_frame; in SPDYF_prepare_goaway()
1670 struct SPDYF_Control_Frame *control_frame; in SPDYF_prepare_rst_stream() local
1685 if(NULL == (control_frame = malloc(sizeof(struct SPDYF_Control_Frame)))) in SPDYF_prepare_rst_stream()
1690 memset(control_frame, 0, sizeof(struct SPDYF_Control_Frame)); in SPDYF_prepare_rst_stream()
1694 free(control_frame); in SPDYF_prepare_rst_stream()
1701 control_frame->control_bit = 1; in SPDYF_prepare_rst_stream()
1702 control_frame->version = SPDY_VERSION; in SPDYF_prepare_rst_stream()
1703 control_frame->type = SPDY_CONTROL_FRAME_TYPES_RST_STREAM; in SPDYF_prepare_rst_stream()
1704 control_frame->flags = 0; in SPDYF_prepare_rst_stream()
1706 response_to_queue->control_frame = control_frame; in SPDYF_prepare_rst_stream()
1726 struct SPDYF_Control_Frame *control_frame; in SPDYF_prepare_window_update() local
1737 if(NULL == (control_frame = malloc(sizeof(struct SPDYF_Control_Frame)))) in SPDYF_prepare_window_update()
1742 memset(control_frame, 0, sizeof(struct SPDYF_Control_Frame)); in SPDYF_prepare_window_update()
1746 free(control_frame); in SPDYF_prepare_window_update()
1753 control_frame->control_bit = 1; in SPDYF_prepare_window_update()
1754 control_frame->version = SPDY_VERSION; in SPDYF_prepare_window_update()
1755 control_frame->type = SPDY_CONTROL_FRAME_TYPES_WINDOW_UPDATE; in SPDYF_prepare_window_update()
1756 control_frame->flags = 0; in SPDYF_prepare_window_update()
1758 response_to_queue->control_frame = control_frame; in SPDYF_prepare_window_update()